From 51c5c85c23553487785cc0622f6137a3f520ddaf Mon Sep 17 00:00:00 2001 From: Earnestly Date: Fri, 13 Jan 2017 20:56:47 -0500 Subject: 40355: _mpc: improve playlist completion --- ChangeLog | 5 +++++ Completion/Unix/Command/_mpc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 18c356ee2..37b1a0b1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-01-13 Eric Cook + + * earnestly: 40355: Completion/Unix/Command/_mpc: improve + playlist completion + 2017-01-13 Oliver Kiddle * 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 } -- cgit 1.4.1