Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Tiny change to the mplayer completion



I added completion for .m4v files.
Diff in attached file.
--- _mplayer	2010-06-06 15:44:12.000000000 +0200
+++ /usr/share/zsh/functions/Completion/X/_mplayer	2011-06-26 14:52:09.944961991 +0200
@@ -115,7 +115,7 @@
     _tags files urls
     while _tags; do
       _requested files expl 'video file' _files -g \
-	  "*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|vob|wav|wma|wmv)(-.)" && ret=0
+	  "*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|m4v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|qt|rm|vob|wav|wma|wmv)(-.)" && ret=0
       if _requested urls; then
         while _next_label urls expl URL; do
           _urls "$expl[@]" && ret=0


Messages sorted by: Reverse Date, Date, Thread, Author