mirror of
https://github.com/notwa/rc
synced 2024-11-05 07:19: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
|
_mpv_flags
|
||||||
if [ -n "$ZSH_VERSION" ]; then
|
if [ -n "$ZSH_VERSION" ]; then
|
||||||
# zsh syntax
|
# zsh syntax
|
||||||
mpv $=REPLY "$url"
|
mpv $=REPLY "$@" "$url"
|
||||||
else
|
else
|
||||||
# bash syntax
|
# bash syntax
|
||||||
mpv $REPLY "$url"
|
mpv $REPLY "$@" "$url"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue