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/Core | |
| parent | even more fun with the menu style (no=num, yes=long-list, reverse meaning of ... (diff) | |
| download | zsh-d15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7.tar zsh-d15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7.tar.gz zsh-d15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7.tar.bz2 zsh-d15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7.tar.lz zsh-d15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7.tar.xz zsh-d15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7.tar.zst zsh-d15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7.zip | |
change suffix style to still do expansion if the suffix contains something to expand (12115)
Diffstat (limited to 'Completion/Core')
| -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 || |
