1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-27 06:11:06 +02:00

Daniel Friesel: 29796: complete .webm in mplayer

This commit is contained in:
Peter Stephenson 2011-09-22 08:38:29 +00:00
parent 664675dc10
commit 64d3354ab5
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-09-22 Peter Stephenson <pws@csr.com>
* Daniel Friesel: 29796: Copmletion/X/Command/_mplayer: complete
.webm.
2011-09-21 Peter Stephenson <pws@csr.com>
* Luka Perkov: 29788: Completion/Unix/Command/_quilt:
@ -15435,5 +15440,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5470 $
* $Revision: 1.5471 $
*****************************************************

View file

@ -115,7 +115,7 @@ case "$state" in
_tags files urls
while _tags; do
_requested files expl 'video file' _files -g \
"*.(#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
"*.(#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|webm|wma|wmv)(-.)" && ret=0
if _requested urls; then
while _next_label urls expl URL; do
_urls "$expl[@]" && ret=0