diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-04 18:54:55 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-04 18:54:55 +0100 |
commit | 9ff806a2799e74d038692fc95a53adb3ba33eebd (patch) | |
tree | af3ce9f5a4ac73a1db392c767ece6796675e4aba /etc/functions/youtube-watch | |
parent | 0acec246f225db567efcea5b904885a412ba56b8 (diff) |
youtube-watch: Pass additional arguments to mplayer
Diffstat (limited to 'etc/functions/youtube-watch')
-rwxr-xr-x | etc/functions/youtube-watch | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/functions/youtube-watch b/etc/functions/youtube-watch index fd60edf..ccf096d 100755 --- a/etc/functions/youtube-watch +++ b/etc/functions/youtube-watch @@ -1 +1,4 @@ -mplayer $(youtube-dl -g $1) +## vim:ft=zsh +typeset video=$1 +shift +mplayer $* $(youtube-dl -g $video) |