diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-30 11:09:49 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-30 11:09:49 +0000 |
| commit | 6757c3c734759b8b51fa99b6b60bcd2dbdc9522d (patch) | |
| tree | 4e435beb032e9410a60829f5fa66096c8ae298dd | |
| parent | Bart 14144: fix compilation problem on current Cygwin 1.3.1 (macros were (diff) | |
| download | zsh-6757c3c734759b8b51fa99b6b60bcd2dbdc9522d.tar zsh-6757c3c734759b8b51fa99b6b60bcd2dbdc9522d.tar.gz zsh-6757c3c734759b8b51fa99b6b60bcd2dbdc9522d.tar.bz2 zsh-6757c3c734759b8b51fa99b6b60bcd2dbdc9522d.tar.lz zsh-6757c3c734759b8b51fa99b6b60bcd2dbdc9522d.tar.xz zsh-6757c3c734759b8b51fa99b6b60bcd2dbdc9522d.tar.zst zsh-6757c3c734759b8b51fa99b6b60bcd2dbdc9522d.zip | |
fixelt for the test for the suffix style; if word contains only a tilde, don't try to expand it (14160)
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | Completion/Base/Completer/_expand | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2001-04-30 Sven Wischnowsky <wischnow@zsh.org> + + * 14160: Completion/Base/Completer/_expand: fixelt for the test + for the suffix style; if word contains only a tilde, don't try + to expand it + 2001-04-30 Andrej Borsenkow <bor@zsh.org> * Bart: 14144 (modified): Src/Modules/stat.c diff --git a/Completion/Base/Completer/_expand b/Completion/Base/Completer/_expand index f3da119e1..c6250cd16 100644 --- a/Completion/Base/Completer/_expand +++ b/Completion/Base/Completer/_expand @@ -34,7 +34,7 @@ fi zstyle -T ":completion:${curcontext}:" suffix && [[ "$word" = (\~*/|*\$(|[=~#^+])[a-zA-Z0-9_\[\]]##[^a-zA-Z0-9_\[\]]|*\$\{*\}?) && - "${(e)word}" != *[][^~*?\<\>\{\}\|]* ]] && + "${(e)word}" != *[][^*?\(\)\<\>\{\}\|]* ]] && return 1 zstyle -t ":completion:${curcontext}:" accept-exact || |
