diff --git a/ChangeLog b/ChangeLog index 90b337060..9a5c9610c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-06-14 Oliver Kiddle + + * 11903: Completion/Core/_expand: handle suffix style for arrays + 2000-06-14 Peter Stephenson * 11902: Test/08traps.ztst: add test for localtraps with SIGWINCH. diff --git a/Completion/Core/_expand b/Completion/Core/_expand index 9ba055a6e..381029d71 100644 --- a/Completion/Core/_expand +++ b/Completion/Core/_expand @@ -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 ||