about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-09-14 08:40:48 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-09-14 08:40:48 +0000
commita32f3b2ffc88bf4e3294bc81c2d77d87134d810b (patch)
tree0f7349ed7266237610c81e0f2a57310e80bb5a67 /Completion/Unix
parent1f6225fd7827c4cb151db759836c65399f7689f9 (diff)
downloadzsh-a32f3b2ffc88bf4e3294bc81c2d77d87134d810b.tar.gz
zsh-a32f3b2ffc88bf4e3294bc81c2d77d87134d810b.tar.xz
zsh-a32f3b2ffc88bf4e3294bc81c2d77d87134d810b.zip
Greg Klanderman: 27262: prefixes incorrect with accept-exact-dirs
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Type/_path_files2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index 2e851058f..acc11542d 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -359,7 +359,7 @@ for prepath in "$prepaths[@]"; do
     tmp1=$match[1]
     tpre=$match[2]
     while true; do
-      if [[ -d $donepath$tmp1 ]]; then
+      if [[ -d $prepath$realpath$donepath$tmp1 ]]; then
 	donepath=$donepath$tmp1/
 	pre=$tpre
 	break