summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2002-11-06 08:03:41 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2002-11-06 08:03:41 +0000
commit83b3b0769a11b1fb8060695efb72c17a55d04cea (patch)
treedd33c30fca5d2239a689d5da5284c1745f794c40 /Completion
parent14f39707cb87a356cfb6c6022e00904092167b98 (diff)
downloadzsh-83b3b0769a11b1fb8060695efb72c17a55d04cea.tar.gz
zsh-83b3b0769a11b1fb8060695efb72c17a55d04cea.tar.xz
zsh-83b3b0769a11b1fb8060695efb72c17a55d04cea.zip
Bart (17906): de-quote prefix when calling compfiles to remove non-exact matches (17910)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Type/_path_files2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index 75933e623..45308bc93 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -464,7 +464,7 @@ for prepath in "$prepaths[@]"; do
     # names. This avoids having `foo' complete to `foo' and `foobar'.
     # The return value is non-zero if the component is ambiguous.
 
-    compfiles -r tmp1 "$tmp3"
+    compfiles -r tmp1 "${(Q)tmp3}"
     tmp4=$?
 
     if [[ "$tpre" = */* ]]; then