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

PATCH: _mplayer .mp4, .flv



Miciah Dashiel Butler Masters sent a patch to add flv and mp4, and I
decided to alphabetize them since no other organization was obvious.

Index: Completion/X/Command/_mplayer
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/X/Command/_mplayer,v
retrieving revision 1.8
diff -u -r1.8 _mplayer
--- Completion/X/Command/_mplayer	8 Jun 2005 05:33:48 -0000	1.8
+++ Completion/X/Command/_mplayer	3 Oct 2006 22:49:38 -0000
@@ -115,7 +115,7 @@
     _tags files urls
     while _tags; do
       _requested files expl 'video file' _files -g \
-          "*.(#i)(avi|mp3|mpg|mpe|mpeg|m1v|m2p|m2v|mov|asf|vob|mjpg|wma|wmv|asx|qt|rm|mkv|mka|ogm|ogg|wav)(-.)" && ret=0
+	  "*.(#i)(asf|asx|avi|flv|m1v|m2p|m2v|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