From 59d4f94e5d32163943547145fc4605947617f510 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 14 Feb 2000 10:29:49 +0000 Subject: zsh-workers/9710 --- Completion/Core/_path_files | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Completion/Core/_path_files') diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index 96d7ce6d0..07e75052f 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -276,9 +276,9 @@ for prepath in "$prepaths[@]"; do if [[ "$sopt" = *[/f]* && ( -o globdots || "$PREFIX" = .* ) ]] && zstyle -s ":completion:${curcontext}:paths" special-dirs atmp; then if [[ "$atmp" = (yes|true|1|on) ]]; then - tmp2=( "$tmp2[@]" . .. ) + tmp1=( "$tmp1[@]" . .. ) elif [[ "$atmp" = .. ]]; then - tmp2=( "$tmp2[@]" .. ) + tmp1=( "$tmp1[@]" .. ) fi fi fi @@ -333,7 +333,6 @@ 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; elif [[ "$haspats" = no && -z "$tpre$tsuf" && -- cgit 1.4.1