mirror of
https://github.com/notwa/rc
synced 2024-11-05 02:49:02 -08:00
pass args from watchstream1 to mpv
This commit is contained in:
parent
54febfd449
commit
35f5b84352
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue