summary refs log tree commit diff
path: root/Completion/Zsh/Context/_value
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2017-04-26 16:32:10 +0200
committerOliver Kiddle <opk@zsh.org>2017-04-26 16:32:10 +0200
commit78afb218b0b2603db227667b616578bfe927518c (patch)
tree40277c76f6c347e144180b587a3e35c9fa0cbb5c /Completion/Zsh/Context/_value
parent408b92b168078a338f5fc2c2f95f39f8aa8e5f67 (diff)
downloadzsh-78afb218b0b2603db227667b616578bfe927518c.tar.gz
zsh-78afb218b0b2603db227667b616578bfe927518c.tar.xz
zsh-78afb218b0b2603db227667b616578bfe927518c.zip
40965: fix for missing local declarations of expl
Diffstat (limited to 'Completion/Zsh/Context/_value')
-rw-r--r--Completion/Zsh/Context/_value1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Zsh/Context/_value b/Completion/Zsh/Context/_value
index 47fbc1749..22372ab36 100644
--- a/Completion/Zsh/Context/_value
+++ b/Completion/Zsh/Context/_value
@@ -24,6 +24,7 @@ else
   if [[ "$compstate[parameter]" != *-* &&
         "$compstate[context]" = *value &&
         "${(Pt)${compstate[parameter]}}" = assoc* ]]; then
+    local expl
     if (( CURRENT & 1 )); then
       _wanted association-keys expl 'association key' \
           compadd -k "$compstate[parameter]"