summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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