1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00

40355: _mpc: improve playlist completion

This commit is contained in:
Earnestly 2017-01-13 20:56:47 -05:00 committed by Eric Cook
parent f22960c8e1
commit 51c5c85c23
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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
}