diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-24 09:35:41 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-24 09:35:41 +0000 |
commit | 4e1f3406ab7a5c751495a5a783b3ded00b92178c (patch) | |
tree | d1b53495a122b7dc73d6d244746ce66c53a57859 /Completion | |
parent | 8a1d0f50f6bd6bb2ef1a5627d1178d8e183e64f1 (diff) | |
download | zsh-4e1f3406ab7a5c751495a5a783b3ded00b92178c.tar.gz zsh-4e1f3406ab7a5c751495a5a783b3ded00b92178c.tar.xz zsh-4e1f3406ab7a5c751495a5a783b3ded00b92178c.zip |
zsh-workers/9414
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Core/_path_files | 2 |
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 |