diff options
author | Earnestly <zibeon@gmail.com> | 2017-01-13 20:56:47 -0500 |
---|---|---|
committer | Eric Cook <illua@users.sourceforge.net> | 2017-01-13 20:56:47 -0500 |
commit | 51c5c85c23553487785cc0622f6137a3f520ddaf (patch) | |
tree | 43246ada06eca590c8c11b64108210cd6e9dade5 | |
parent | f22960c8e1e0d5d1f34023aa64e1f602ae345945 (diff) | |
download | zsh-51c5c85c23553487785cc0622f6137a3f520ddaf.tar.gz zsh-51c5c85c23553487785cc0622f6137a3f520ddaf.tar.xz zsh-51c5c85c23553487785cc0622f6137a3f520ddaf.zip |
40355: _mpc: improve playlist completion
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_mpc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 18c356ee2..37b1a0b1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-01-13 Eric Cook <llua@gmx.com> + + * earnestly: 40355: Completion/Unix/Command/_mpc: improve + playlist completion + 2017-01-13 Oliver Kiddle <opk@zsh.org> * 40345: Completion/Linux/Command/_lsusb: update lsusb completion diff --git a/Completion/Unix/Command/_mpc b/Completion/Unix/Command/_mpc index 11eab8463..e0c6888b0 100644 --- a/Completion/Unix/Command/_mpc +++ b/Completion/Unix/Command/_mpc @@ -131,7 +131,7 @@ _mpc_helper_songnumbers() { (( $+functions[_mpc_helper_playlists] )) || _mpc_helper_playlists() { local list expl - list=($(mpc lsplaylists)) + list=(${(f)"$(mpc lsplaylists)"}) _wanted list expl playlist compadd -M $MPC_PLAYLIST_MATCHER $expl -a list } |