diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2007-01-04 18:06:39 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2007-01-04 18:06:39 +0000 |
| commit | 572a860eb3bf25983b97d1c251f15295cc0a995a (patch) | |
| tree | 132c6f8c700154054e7722027771da7715779c0d /Completion/Unix/Command/_mpc | |
| parent | 23088: printf formats and arguments need different octal escape sequences (diff) | |
| download | zsh-572a860eb3bf25983b97d1c251f15295cc0a995a.tar zsh-572a860eb3bf25983b97d1c251f15295cc0a995a.tar.gz zsh-572a860eb3bf25983b97d1c251f15295cc0a995a.tar.bz2 zsh-572a860eb3bf25983b97d1c251f15295cc0a995a.tar.lz zsh-572a860eb3bf25983b97d1c251f15295cc0a995a.tar.xz zsh-572a860eb3bf25983b97d1c251f15295cc0a995a.tar.zst zsh-572a860eb3bf25983b97d1c251f15295cc0a995a.zip | |
23089: relax playlist glob pattern to work with newer versions.
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' \ |
