diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-05-02 08:58:55 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-05-02 08:58:55 +0000 |
commit | 47d8fd9b6c896a5b566ab79d8d18f351226455ea (patch) | |
tree | a36168ddd78cb61ea9803a8b6e520946dade7b57 /Completion/Base/Completer/_expand | |
parent | 6976ea95dbf0ff0c007879937706326df5498598 (diff) | |
download | zsh-47d8fd9b6c896a5b566ab79d8d18f351226455ea.tar.gz zsh-47d8fd9b6c896a5b566ab79d8d18f351226455ea.tar.xz zsh-47d8fd9b6c896a5b566ab79d8d18f351226455ea.zip |
missing star in suffix-style test pattern (14197)
Diffstat (limited to 'Completion/Base/Completer/_expand')
-rw-r--r-- | Completion/Base/Completer/_expand | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/Completer/_expand b/Completion/Base/Completer/_expand index c6250cd16..bf3ddefbf 100644 --- a/Completion/Base/Completer/_expand +++ b/Completion/Base/Completer/_expand @@ -33,7 +33,7 @@ fi # [[ "$word" = (\~*/|\$(|[=~#^+])[a-zA-Z0-9_\[\]]##[^a-zA-Z0-9_\[\]]|\$\{*\}?)[^\$\{\}\(\)\<\>?^*#~]# ]] && zstyle -T ":completion:${curcontext}:" suffix && - [[ "$word" = (\~*/|*\$(|[=~#^+])[a-zA-Z0-9_\[\]]##[^a-zA-Z0-9_\[\]]|*\$\{*\}?) && + [[ "$word" = (\~*/*|*\$(|[=~#^+])[a-zA-Z0-9_\[\]]##[^a-zA-Z0-9_\[\]]|*\$\{*\}?) && "${(e)word}" != *[][^*?\(\)\<\>\{\}\|]* ]] && return 1 |