From d15f36ab5b7b2a15e9fc613de59e6ff1d586a7c7 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 29 Jun 2000 07:10:31 +0000 Subject: change suffix style to still do expansion if the suffix contains something to expand (12115) --- Completion/Core/_expand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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 || -- cgit 1.4.1