about summary refs log tree commit diff
path: root/Completion/Core
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-08 10:09:31 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-08 10:09:31 +0000
commite49689cba8168ee0c9c1bb8184f207f76583e629 (patch)
tree8374ca9084d6f5e231e3079862743a87061c2ebe /Completion/Core
parentbad8ea3cc71582c9a5d67a7da342880811f33791 (diff)
downloadzsh-e49689cba8168ee0c9c1bb8184f207f76583e629.tar.gz
zsh-e49689cba8168ee0c9c1bb8184f207f76583e629.tar.xz
zsh-e49689cba8168ee0c9c1bb8184f207f76583e629.zip
zsh-workers/9616
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/_path_files2
1 files changed, 1 insertions, 1 deletions
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