diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2000-06-14 16:12:13 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2000-06-14 16:12:13 +0000 |
commit | 545c0647701f8a677c40394c23700a229ca38003 (patch) | |
tree | ac3d0bf4169823b796fd1ad7d12109bc55e21cc5 /Completion | |
parent | 05c34efa3ca9c5f91ba3cea951e6def722deb00d (diff) | |
download | zsh-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/_expand | 2 |
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 || |