about summary refs log tree commit diff
path: root/Completion/Zsh/Context/_value
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Context/_value')
-rw-r--r--Completion/Zsh/Context/_value2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Context/_value b/Completion/Zsh/Context/_value
index 22372ab36..5e74100c6 100644
--- a/Completion/Zsh/Context/_value
+++ b/Completion/Zsh/Context/_value
@@ -22,7 +22,7 @@ if [[ "$service" != -value-,* ]]; then
             -value-,{${compstate[parameter]},-default-},${^strs}
 else
   if [[ "$compstate[parameter]" != *-* &&
-        "$compstate[context]" = *value &&
+        "$compstate[context]" = array_value &&
         "${(Pt)${compstate[parameter]}}" = assoc* ]]; then
     local expl
     if (( CURRENT & 1 )); then