1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 06:20:55 +01: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

@ -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"