about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-24 09:35:41 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-24 09:35:41 +0000
commit4e1f3406ab7a5c751495a5a783b3ded00b92178c (patch)
treed1b53495a122b7dc73d6d244746ce66c53a57859
parent8a1d0f50f6bd6bb2ef1a5627d1178d8e183e64f1 (diff)
downloadzsh-4e1f3406ab7a5c751495a5a783b3ded00b92178c.tar.gz
zsh-4e1f3406ab7a5c751495a5a783b3ded00b92178c.tar.xz
zsh-4e1f3406ab7a5c751495a5a783b3ded00b92178c.zip
zsh-workers/9414
-rw-r--r--Completion/Core/_path_files2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files
index b43449541..600a82189 100644
--- a/Completion/Core/_path_files
+++ b/Completion/Core/_path_files
@@ -326,6 +326,8 @@ for prepath in "$prepaths[@]"; do
 	    [[ "$i" -ef "$PWD" ]] && _comp_ignore=( "$_comp_ignore[@]" "${(q)i}" )
 	  done
         fi
+       (( $#_comp_ignore )) && (( $expl[(I)-F] )) ||
+           expl=( "$expl[@]" -F _comp_ignore )
       fi
       if [[ "$sopt" = *[/f]* && ( -o globdots || "$PREFIX" = .* ) ]] &&
 	  zstyle -s ":completion${curcontext}:paths" special-dirs atmp; then