about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Zsh/Context/_subscript2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 094f5c147..289b283aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-05-08  Oliver Kiddle  <opk@zsh.org>
+
+	* 14256: Completion/Zsh/Context/_subscript: fix minor mistake
+
 	* 14255: Completion/X/Command/_vnc: fix guard for display numbers
 
 2001-05-08  Peter Stephenson  <pws@csr.com>
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