about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorEarnestly <zibeon@gmail.com>2017-01-13 20:56:47 -0500
committerEric Cook <illua@users.sourceforge.net>2017-01-13 20:56:47 -0500
commit51c5c85c23553487785cc0622f6137a3f520ddaf (patch)
tree43246ada06eca590c8c11b64108210cd6e9dade5 /Completion/Unix/Command
parentf22960c8e1e0d5d1f34023aa64e1f602ae345945 (diff)
downloadzsh-51c5c85c23553487785cc0622f6137a3f520ddaf.tar.gz
zsh-51c5c85c23553487785cc0622f6137a3f520ddaf.tar.xz
zsh-51c5c85c23553487785cc0622f6137a3f520ddaf.zip
40355: _mpc: improve playlist completion
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_mpc2
1 files changed, 1 insertions, 1 deletions
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
 }