summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-10-17 13:29:20 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-10-17 13:29:20 +0000
commitd727200bff9b41f1a05284dde15df9b0d45d6041 (patch)
tree4dfc5951d436eac6c0fb08f55aac029be30755c2
parent4932cbac1b28c5e9e7dc3ca8e5d076fa420925db (diff)
downloadzsh-d727200bff9b41f1a05284dde15df9b0d45d6041.tar.gz
zsh-d727200bff9b41f1a05284dde15df9b0d45d6041.tar.xz
zsh-d727200bff9b41f1a05284dde15df9b0d45d6041.zip
don't use _comp_ignore while building paths, only at end (16076)
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_path_files8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index cb86c3c8d..b87f8d46a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-17  Sven Wischnowsky  <wischnow@zsh.org>
+
+	* 16076: Completion/Unix/Type/_path_files: don't use
+	_comp_ignore while building paths, only at end
+
 2001-10-16  Peter Stephenson  <pws@csr.com>
 
 	* 16065: Doc/Zsh/metafaq.yo: sourceforge.
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index ff4240f90..b7a742596 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -351,19 +351,19 @@ for prepath in "$prepaths[@]"; do
       elif [[ "$tmp1[1]" = */* ]]; then
         if [[ -n "$_comp_correct" ]]; then
           tmp2=( "$tmp1[@]" )
-          builtin compadd -D tmp1 -F _comp_ignore "$matcher[@]" - "${(@)tmp1:t}"
+          builtin compadd -D tmp1 "$matcher[@]" - "${(@)tmp1:t}"
 
           if [[ $#tmp1 -eq 0 ]]; then
             tmp1=( "$tmp2[@]" )
-	    compadd -D tmp1 -F _comp_ignore "$matcher[@]" - "${(@)tmp2:t}"
+	    compadd -D tmp1 "$matcher[@]" - "${(@)tmp2:t}"
           fi
         else
           tmp2=( "$tmp1[@]" )
-          compadd -D tmp1 -F _comp_ignore "$matcher[@]" - "${(@)tmp1:t}"
+          compadd -D tmp1 "$matcher[@]" - "${(@)tmp1:t}"
         fi
       else
         tmp2=( '' )
-        compadd -D tmp1 -F _comp_ignore "$matcher[@]" -a tmp1
+        compadd -D tmp1 "$matcher[@]" -a tmp1
       fi
 
       # If no file matches, save the expanded path and continue with