From 9ff806a2799e74d038692fc95a53adb3ba33eebd Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 4 Mar 2009 18:54:55 +0100 Subject: youtube-watch: Pass additional arguments to mplayer --- etc/functions/youtube-watch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'etc/functions') 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) -- cgit v1.2.3