summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Type/_path_files4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 8212e8121..78d5697f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-29 Peter Stephenson <pws@csr.com>
+
+ * 26485: Completion/Unix/Type/_path_files: accept-exact-dirs could
+ rearrange directories into the wrong order.
+
2009-01-29 Clint Adams <clint@zsh.org>
* 26482: Completion/Unix/Command/_patch: complete patch -U,
@@ -11052,5 +11057,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4539 $
+* $Revision: 1.4540 $
*****************************************************
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index 2e9e943b5..71969d37b 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -578,11 +578,11 @@ for prepath in "$prepaths[@]"; do
if [[ "$tpre" = */* ]]; then
tmp2="${cpre}${tpre%%/*}"
- PREFIX="${donepath}${linepath}${tmp2}"
+ PREFIX="${linepath}${donepath}${tmp2}"
SUFFIX="/${tpre#*/}${tsuf#*/}"
else
tmp2="${cpre}${tpre}"
- PREFIX="${donepath}${linepath}${tmp2}"
+ PREFIX="${linepath}${donepath}${tmp2}"
SUFFIX="${tsuf}"
fi