diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2012-01-29 18:29:26 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2012-01-29 18:29:26 +0000 |
commit | 76512cdeb052408bf0bd79dc7cf43261b8c232ad (patch) | |
tree | 3cc562827160c49e2f3f2c2f5acf35e51e3d1f2a | |
parent | 23907bb840c80eef99eabba17e086e44c9b2d3fc (diff) | |
download | zsh-76512cdeb052408bf0bd79dc7cf43261b8c232ad.tar.gz zsh-76512cdeb052408bf0bd79dc7cf43261b8c232ad.tar.xz zsh-76512cdeb052408bf0bd79dc7cf43261b8c232ad.zip |
Richard Hartmann: 30140: whitespace fix in mplayer completion
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/X/Command/_mplayer | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index fb2e799c3..17d23f23a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 $ ***************************************************** diff --git a/Completion/X/Command/_mplayer b/Completion/X/Command/_mplayer index 85c4f6d12..81669fc1c 100644 --- a/Completion/X/Command/_mplayer +++ b/Completion/X/Command/_mplayer @@ -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 |