summary refs log tree commit diff
path: root/Completion/Zsh/Context
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-05-08 11:55:28 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-05-08 11:55:28 +0000
commit671fda58c0cf5c37232854fcc0b7f72c94287a89 (patch)
treefc5b145cc5af37847db919888d7a3487b1b286e4 /Completion/Zsh/Context
parent4c81ef8686e9cfe761269fd6508a74f1dda1b939 (diff)
downloadzsh-671fda58c0cf5c37232854fcc0b7f72c94287a89.tar.gz
zsh-671fda58c0cf5c37232854fcc0b7f72c94287a89.tar.xz
zsh-671fda58c0cf5c37232854fcc0b7f72c94287a89.zip
match `scalar*' not `scalar' when checking parameter type (14256)
Diffstat (limited to 'Completion/Zsh/Context')
-rw-r--r--Completion/Zsh/Context/_subscript2
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