From e49689cba8168ee0c9c1bb8184f207f76583e629 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 8 Feb 2000 10:09:31 +0000 Subject: zsh-workers/9616 --- Completion/Core/_path_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Core/_path_files') diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index a41f8d73a..e944c8433 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -452,7 +452,7 @@ for prepath in "$prepaths[@]"; do if (( $#tmp4 )) || [[ -n "$compstate[pattern_match]" && - "$PREFIX$SUFFIX" != "${(q)PREFIX}${(q)SUFFIX}" ]]; then + "${PREFIX:s/$//}${SUFFIX:s/$//}" != "${(q)PREFIX:s/$//}${(q)SUFFIX:s/$//}" ]]; then # It is. For menucompletion we now add the possible completions # for this component with the unambigous prefix we have built -- cgit 1.4.1