summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-05-02 08:58:55 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-05-02 08:58:55 +0000
commit47d8fd9b6c896a5b566ab79d8d18f351226455ea (patch)
treea36168ddd78cb61ea9803a8b6e520946dade7b57 /Completion
parent6976ea95dbf0ff0c007879937706326df5498598 (diff)
downloadzsh-47d8fd9b6c896a5b566ab79d8d18f351226455ea.tar.gz
zsh-47d8fd9b6c896a5b566ab79d8d18f351226455ea.tar.xz
zsh-47d8fd9b6c896a5b566ab79d8d18f351226455ea.zip
missing star in suffix-style test pattern (14197)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Base/Completer/_expand2
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