diff options
Diffstat (limited to 'etc')
-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) |