From 6757c3c734759b8b51fa99b6b60bcd2dbdc9522d Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 30 Apr 2001 11:09:49 +0000 Subject: fixelt for the test for the suffix style; if word contains only a tilde, don't try to expand it (14160) --- Completion/Base/Completer/_expand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Base') 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 || -- cgit 1.4.1