summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/functions/youtube-watch5
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)