about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-13 12:32:28 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-13 12:32:28 +0000
commit8828798a99512469f569f4a3eb2c8606456e0ff0 (patch)
tree291b0def920a8fb76519ae19b23137e1b0a3e41b
parenta557e3e6fa91b3c0dc6219cb05d1931168b5e5df (diff)
downloadzsh-8828798a99512469f569f4a3eb2c8606456e0ff0.tar.gz
zsh-8828798a99512469f569f4a3eb2c8606456e0ff0.tar.xz
zsh-8828798a99512469f569f4a3eb2c8606456e0ff0.zip
zsh-users/2776
-rw-r--r--Completion/Core/_path_files4
1 files changed, 2 insertions, 2 deletions
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[@]" )