mirror of
https://github.com/notwa/rc
synced 2024-05-20 10:53:23 -07:00
pass args from watchstream1 to mpv
This commit is contained in:
parent
54febfd449
commit
35f5b84352
|
@ -44,10 +44,10 @@ watchstream1() {
|
|||
_mpv_flags
|
||||
if [ -n "$ZSH_VERSION" ]; then
|
||||
# zsh syntax
|
||||
mpv $=REPLY "$url"
|
||||
mpv $=REPLY "$@" "$url"
|
||||
else
|
||||
# bash syntax
|
||||
mpv $REPLY "$url"
|
||||
mpv $REPLY "$@" "$url"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user