On Mon, Feb 23, 2009 at 09:14:48PM +0100, Daniel Friesel wrote:
> the file completion for mplayer dose not complete *.flac files
> --- /usr/share/zsh/functions/Completion/X/_mplayer 2008-12-29
> 19:00:22.000000000 +0100
> +++ /tmp/_mplayer 2009-02-23 21:05:34.746605476 +0100
> @@ -115,7 +115,7 @@
> _tags files urls
> while _tags; do
> _requested files expl 'video file' _files -g \
> -
> "*.(#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
> +
> "*.(#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
> if _requested urls; then
> while _next_label urls expl URL; do
> _urls "$ex...@]" && ret=0
Index: Completion/X/Command/_mplayer
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/X/Command/_mplayer,v
retrieving revision 1.9
diff -u -r1.9 _mplayer
--- Completion/X/Command/_mplayer 3 Oct 2006 22:57:34 -0000 1.9
+++ Completion/X/Command/_mplayer 28 Feb 2009 19:32:09 -0000
@@ -115,7 +115,7 @@
_tags files urls
while _tags; do
_requested files expl 'video file' _files -g \
-
"*.(#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
+
"*.(#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
if _requested urls; then
while _next_label urls expl URL; do
_urls "$ex...@]" && ret=0
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]