zsh-workers
 help / color / mirror / code / Atom feed
* Tiny change to the mplayer completion
@ 2011-06-26 14:47 Mikael Muszynski
  0 siblings, 0 replies; only message in thread
From: Mikael Muszynski @ 2011-06-26 14:47 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 58 bytes --]

I added completion for .m4v files.
Diff in attached file.

[-- Attachment #2: _mplayer.diff --]
[-- Type: text/plain, Size: 627 bytes --]

--- _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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-26 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-26 14:47 Tiny change to the mplayer completion Mikael Muszynski

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).