diff options
Diffstat (limited to 'Completion/Unix/Command/_mpc')
-rw-r--r-- | Completion/Unix/Command/_mpc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_mpc b/Completion/Unix/Command/_mpc index f468f3b64..152996458 100644 --- a/Completion/Unix/Command/_mpc +++ b/Completion/Unix/Command/_mpc @@ -95,7 +95,7 @@ _mpc_helper_songnumbers() { out=("${(@f)$(_call_program song-numbers mpc $foo playlist 2>/dev/null)}") out=("${(@M)out[@]:#${~MATCH}}") - sn=("${(@)${(@M)out}//(#b)(#s)\#([0-9]#)*/$match[1]}") + sn=("${(@)${(@M)out}//(#b)(#s)(\#|[ >]#)([0-9]#)*/$match[2]}") list=("${(@Mr:COLUMNS-1:)out}") _wanted -V 'song numbers' expl 'song number' \ |