From 9b4962a7720b908479ad1044b1ecc83eb7832262 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 28 Sep 2017 00:54:35 +0200 Subject: 41762: fix for completion in assignment to associative array element --- Completion/Zsh/Context/_value | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Zsh') 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 -- cgit 1.4.1