mirror of
https://github.com/zsh-users/zsh
synced 2024-10-04 15:09:11 +00:00
32245: complete more mpc arguments
This commit is contained in:
parent
d26461a3c6
commit
8fd6d5766c
|
@ -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,
|
||||
|
|
|
@ -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
0
Test/B08shift.ztst
Normal file
Loading…
Reference in a new issue