diff options
| author | Oliver Kiddle <opk@users.sourceforge.net> | 2001-05-08 11:55:28 +0000 |
|---|---|---|
| committer | Oliver Kiddle <opk@users.sourceforge.net> | 2001-05-08 11:55:28 +0000 |
| commit | 671fda58c0cf5c37232854fcc0b7f72c94287a89 (patch) | |
| tree | fc5b145cc5af37847db919888d7a3487b1b286e4 /Completion/Zsh/Context/_subscript | |
| parent | fix guard to accept partial display numbers (14255) (diff) | |
| download | zsh-671fda58c0cf5c37232854fcc0b7f72c94287a89.tar zsh-671fda58c0cf5c37232854fcc0b7f72c94287a89.tar.gz zsh-671fda58c0cf5c37232854fcc0b7f72c94287a89.tar.bz2 zsh-671fda58c0cf5c37232854fcc0b7f72c94287a89.tar.lz zsh-671fda58c0cf5c37232854fcc0b7f72c94287a89.tar.xz zsh-671fda58c0cf5c37232854fcc0b7f72c94287a89.tar.zst zsh-671fda58c0cf5c37232854fcc0b7f72c94287a89.zip | |
match `scalar*' not `scalar' when checking parameter type (14256)
Diffstat (limited to 'Completion/Zsh/Context/_subscript')
| -rw-r--r-- | Completion/Zsh/Context/_subscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Context/_subscript b/Completion/Zsh/Context/_subscript index bca521714..516c8cae9 100644 --- a/Completion/Zsh/Context/_subscript +++ b/Completion/Zsh/Context/_subscript @@ -20,7 +20,7 @@ elif compset -P '\('; then if [[ $PREFIX = (#b)*([bns])(?|)(*) ]]; then local f=$match[1] d=$match[2] e=$match[2] v=$match[3] - [[ $f = s && ${(Pt)${compstate[parameter]}} != scalar ]] && return 1 + [[ $f = s && ${(Pt)${compstate[parameter]}} != scalar* ]] && return 1 if [[ -z $d ]]; then _message 'delimiter' return |
