1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

Richard Hartmann: 30140: whitespace fix in mplayer completion

This commit is contained in:
Peter Stephenson 2012-01-29 18:29:26 +00:00
parent 23907bb840
commit 76512cdeb0
2 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,8 @@
2012-01-29 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Richard Hartmann: 30140: Completion/X/Command/_mplayer:
whitespace fix.
* Felipe Contreras: 30131, 30132, 30133, 30134, 30135,
30136, 30137: Completion/bashcompinit: various improvements to
bash-like behaviour.
@ -15886,5 +15889,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5567 $
* $Revision: 1.5568 $
*****************************************************

View file

@ -115,12 +115,12 @@ 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|webm|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
compadd -S '' "$expl[@]" {dvd,vcd,cdda,cddb,tv}:// && ret=0
done
compadd -S '' "$expl[@]" {dvd,vcd,cdda,cddb,tv}:// && ret=0
done
fi
(( ret )) || return 0
done