mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
41762: fix for completion in assignment to associative array element
This commit is contained in:
parent
7a0718796a
commit
9b4962a772
2 changed files with 6 additions and 1 deletions
|
@ -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 a new issue