about summary refs log tree commit diff
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
parent1f6225fd7827c4cb151db759836c65399f7689f9 (diff)
downloadzsh-a32f3b2ffc88bf4e3294bc81c2d77d87134d810b.tar.gz
zsh-a32f3b2ffc88bf4e3294bc81c2d77d87134d810b.tar.xz
zsh-a32f3b2ffc88bf4e3294bc81c2d77d87134d810b.zip
Greg Klanderman: 27262: prefixes incorrect with accept-exact-dirs
-rw-r--r--ChangeLog9
-rw-r--r--Completion/Unix/Type/_path_files2
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2688e919c..3ab874e88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-14  Peter Stephenson  <pws@csr.com>
+
+	* Greg Klanderman: 27262: Completion/Unix/Type/_path_files:
+	prefixes were incorrect with accept-exact-dirs style.
+
 2009-09-13  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Baptiste Daroussin: 27271: Functions/Zftp/zfanon: remove awk
@@ -42,7 +47,7 @@
 
 2009-09-05  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
-	* Daniel Friesel <derf@tabularazor.org: 27244:
+	* Daniel Friesel <derf@tabularazor.org>: 27244:
 	Completion/Unix/Command/_feh, Completion/Unix/Command/.distfils:
 	new completion.
 
@@ -12163,5 +12168,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4777 $
+* $Revision: 1.4778 $
 *****************************************************
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