From 545c0647701f8a677c40394c23700a229ca38003 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 14 Jun 2000 16:12:13 +0000 Subject: Handle new suffix style with arrays (11903) --- ChangeLog | 4 ++++ Completion/Core/_expand | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 || -- cgit 1.4.1