From 8828798a99512469f569f4a3eb2c8606456e0ff0 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 13 Dec 1999 12:32:28 +0000 Subject: zsh-users/2776 --- Completion/Core/_path_files | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Core') diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index 2dcfa625c..0f1ef01fe 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -225,11 +225,11 @@ for prepath in "$prepaths[@]"; do if [[ "$tpre$tsuf" = */* ]]; then tmp2=( ${^tmp1}*(-/) ) [[ ! -o globdots && "$PREFIX" = .* ]] && - tmp2=( "$tmp1[@]" ${^tmp1}.*(-/) ) + tmp2=( "$tmp2[@]" ${^tmp1}.*(-/) . .. ) else tmp2=( ${^tmp1}${^~pats} ) [[ ! -o globdots && "$PREFIX" = .* ]] && - tmp2=( "$tmp1[@]" ${^tmp1}.${^~pats} ) + tmp2=( "$tmp2[@]" ${^tmp1}.${^~pats} . .. ) fi tmp1=( "$tmp2[@]" ) -- cgit 1.4.1