Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Tiny change to the mplayer completion
- X-seq: zsh-workers 29510
- From: Mikael Muszynski <linduxed@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Tiny change to the mplayer completion
- Date: Sun, 26 Jun 2011 16:47:02 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type; bh=sfOTEFkoh/0wVp6xkc9EdMO4tsOMODuNKmeTbtnjp2E=; b=t3PLOKZvKjiNSbqFZ7NvR5TCoMwwkT6TUTi6Oz/hj+4ieQK9+4BG3If+gdw23p8DCp eVMxq9t/aR4rooNjCj0xmd7Mp7ud6pfO8v0XohSARNotPINBPdO4UUJdpEfzNEwFQzc/ MBFelElVcXtLLfdgqR1e1pQ9AO3/ne+zsgE+Y=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=Vfbcn9MR4fPjXfb2sPSPbDwDPTh70GCuk4eoqwLCVOCKMv0zx+iEIRMzklmH73wSOv HQv4Ox8TFWpVFIPAT8k3F2Fy1UoNW7yqGaygI8W2lmh+liTvNXs2OJdfNjFT1hSahoZZ ysK5FL/jSWnNP+yTx8Xa9qkMBiw6g5yAnDXLk=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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