1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-22 03:40:47 +02:00

41762: fix for completion in assignment to associative array element

This commit is contained in:
Oliver Kiddle 2017-09-28 00:54:35 +02:00
parent 7a0718796a
commit 9b4962a772
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-09-28 Oliver Kiddle <opk@zsh.org>
* 41762: Completion/Zsh/Context/_value: fix for completion
in assignment to associative array element
2017-09-27 Barton E. Schaefer <schaefer@zsh.org>
* 41767: Src/exec.c: preserve nonzero exit status on interrupt

View File

@ -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