about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2000-06-14 16:12:13 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2000-06-14 16:12:13 +0000
commit545c0647701f8a677c40394c23700a229ca38003 (patch)
treeac3d0bf4169823b796fd1ad7d12109bc55e21cc5 /Completion
parent05c34efa3ca9c5f91ba3cea951e6def722deb00d (diff)
downloadzsh-545c0647701f8a677c40394c23700a229ca38003.tar.gz
zsh-545c0647701f8a677c40394c23700a229ca38003.tar.xz
zsh-545c0647701f8a677c40394c23700a229ca38003.zip
Handle new suffix style with arrays (11903)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_expand2
1 files changed, 1 insertions, 1 deletions
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 ||