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:
parent
7a0718796a
commit
9b4962a772
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user