1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-21 07:26:05 +02:00

32245: complete more mpc arguments

This commit is contained in:
Koen Wilde 2014-01-10 21:53:57 +01:00 committed by Peter Stephenson
parent d26461a3c6
commit 8fd6d5766c
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-01-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Koen Wilde: 32245: Completion/Unix/Command/_mpc: complete more
arguments.
2014-01-09 Peter Stephenson <p.stephenson@samsung.com>
* users/18298 (tidied up): Doc/Zsh/expn.yo, Src/glob.c,

View File

@ -253,7 +253,7 @@ _mpc_search() {
local list expl
list=(album artist title track name genre date composer performer comment disc filename any)
if [[ $#words -eq 2 ]]; then
if ! (( $#words % 2 )); then
_wanted list expl table compadd $expl -a list
else
_message "pattern"

0
Test/B08shift.ztst Normal file
View File