diff options
| author | Koen Wilde <koen@chillheid.nl> | 2014-01-10 21:53:57 +0100 |
|---|---|---|
| committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2014-01-10 22:26:30 +0000 |
| commit | 8fd6d5766c74da73f9a68c97589c58b5292cab24 (patch) | |
| tree | 1db2c6998c2c06711e7bd532eb97cce864ce307a /Completion/Unix | |
| parent | users/18298 (tidied up): add {<char>..<char>} expansion (diff) | |
| download | zsh-8fd6d5766c74da73f9a68c97589c58b5292cab24.tar zsh-8fd6d5766c74da73f9a68c97589c58b5292cab24.tar.gz zsh-8fd6d5766c74da73f9a68c97589c58b5292cab24.tar.bz2 zsh-8fd6d5766c74da73f9a68c97589c58b5292cab24.tar.lz zsh-8fd6d5766c74da73f9a68c97589c58b5292cab24.tar.xz zsh-8fd6d5766c74da73f9a68c97589c58b5292cab24.tar.zst zsh-8fd6d5766c74da73f9a68c97589c58b5292cab24.zip | |
32245: complete more mpc arguments
Diffstat (limited to 'Completion/Unix')
| -rw-r--r-- | Completion/Unix/Command/_mpc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_mpc b/Completion/Unix/Command/_mpc index 1ff9ad950..e72feef47 100644 --- a/Completion/Unix/Command/_mpc +++ b/Completion/Unix/Command/_mpc @@ -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" |
