summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-11 09:12:57 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-11 09:12:57 +0000
commit51511cd7c8e94085033641a8ffe5081f25d024d4 (patch)
tree772ac1a8bed38484f8b5ed4abd06a9730bc93d37
parent8e7e17237ea013a271ec41471bfcd40a2e39584a (diff)
downloadzsh-51511cd7c8e94085033641a8ffe5081f25d024d4.tar.gz
zsh-51511cd7c8e94085033641a8ffe5081f25d024d4.tar.xz
zsh-51511cd7c8e94085033641a8ffe5081f25d024d4.zip
_files used alternative tag-order values even if not needed (11321)
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Core/_files1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8dd744148..9ce330496 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-05-11  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* 11321: Completion/Core/_files: _files used alternative tag-order
+ 	values even if not needed
+	
 	* 11320: Completion/Base/_argument_sets, Completion/Base/_arguments,
  	Doc/Zsh/compsys.yo, Src/Zle/computil.c: allow internally-mutually
  	exclusive sets in _argument_sets; fixes for _argument_sets and the
diff --git a/Completion/Core/_files b/Completion/Core/_files
index 1ba564bf6..5c03848bb 100644
--- a/Completion/Core/_files
+++ b/Completion/Core/_files
@@ -73,6 +73,7 @@ for def in "$pats[@]"; do
           _path_files "$expl[@]" -g "$pat" "$opts[@]" && ret=0
         fi
       done
+      (( ret )) || break
     done
   done
   (( ret )) || return 0