diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-29 07:10:31 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-29 07:10:31 +0000 |
commit | d15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7 (patch) | |
tree | d88abd9923b0a40f196f46c22452e63437238216 /Completion | |
parent | 4e2e7f292faccc162e4c87e7fc2852dc7faceea0 (diff) | |
download | zsh-d15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7.tar.gz zsh-d15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7.tar.xz zsh-d15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7.zip |
change suffix style to still do expansion if the suffix contains something to expand (12115)
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 d0f8d8327..12c31860b 100644 --- a/Completion/Core/_expand +++ b/Completion/Core/_expand @@ -36,7 +36,7 @@ fi [[ "$word" = *\$\{[^\}]# ]] && return 1 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 || |