summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-29 07:10:31 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-29 07:10:31 +0000
commitd15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7 (patch)
treed88abd9923b0a40f196f46c22452e63437238216 /Completion
parent4e2e7f292faccc162e4c87e7fc2852dc7faceea0 (diff)
downloadzsh-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/_expand2
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 ||