mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
Handle new suffix style with arrays (11903)
This commit is contained in:
parent
05c34efa3c
commit
545c064770
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2000-06-14 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 11903: Completion/Core/_expand: handle suffix style for arrays
|
||||
|
||||
2000-06-14 Peter Stephenson <pws@cambridgesiliconradio.com>
|
||||
|
||||
* 11902: Test/08traps.ztst: add test for localtraps with SIGWINCH.
|
||||
|
|
|
@ -35,7 +35,7 @@ else
|
|||
fi
|
||||
|
||||
zstyle -t ":completion:${curcontext}:" suffix &&
|
||||
[[ "$word" = (\~*/*|\$[a-zA-Z0-9_]##[^a-zA-Z0-9_]*|\$\{*\}?*) ]] &&
|
||||
[[ "$word" = (\~*/*|\$[a-zA-Z0-9_\[\]]##[^a-zA-Z0-9_\[\]]*|\$\{*\}?*) ]] &&
|
||||
return 1
|
||||
|
||||
zstyle -t ":completion:${curcontext}:" accept-exact ||
|
||||
|
|
Loading…
Reference in a new issue