about summary refs log tree commit diff
path: root/Completion/Core
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-28 13:24:01 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-28 13:24:01 +0000
commit6c83502a49f124f1d66640353334f3b1ccdb8ddc (patch)
tree3e150fd51407e97632039eadae696ee8d6038a59 /Completion/Core
parent2d14714d84dea25e9f297e08512a5c3f77549068 (diff)
downloadzsh-6c83502a49f124f1d66640353334f3b1ccdb8ddc.tar.gz
zsh-6c83502a49f124f1d66640353334f3b1ccdb8ddc.tar.xz
zsh-6c83502a49f124f1d66640353334f3b1ccdb8ddc.zip
zsh-workers/9902
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/_path_files8
1 files changed, 6 insertions, 2 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files
index bc3a52e5c..ad956bb72 100644
--- a/Completion/Core/_path_files
+++ b/Completion/Core/_path_files
@@ -346,9 +346,13 @@ for prepath in "$prepaths[@]"; do
       # if none of the patterns match.
 
       if [[ -z "$tpre$tsuf" && -n "$pre$suf" ]]; then
-        tmp1=( "$tmp2[@]" )
 	pfxsfx=(-S '' "$pfxsfx[@]")
-	break
+	### Don't remember what the break was good for. We explicitly
+	### execute this only when there are no matches in the directory,
+	### so why continue?
+	###
+        ### tmp1=( "$tmp2[@]" )
+	### break
       elif [[ "$haspats" = no && -z "$tpre$tsuf" &&
 	"$pre" = */ && -z "$suf" ]]; then
 	PREFIX="${opre}"