about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-11 13:19:15 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-11 13:19:15 +0000
commit60bc079540823fcdcea3b80696f4388c1c0f341d (patch)
tree56dd7f378a4b542a9c69cd4a0b7e5d77508f51a1
parent2c8aa1a190332d01a150b24d66ce581952360832 (diff)
downloadzsh-60bc079540823fcdcea3b80696f4388c1c0f341d.tar.gz
zsh-60bc079540823fcdcea3b80696f4388c1c0f341d.tar.xz
zsh-60bc079540823fcdcea3b80696f4388c1c0f341d.zip
zsh-workers/8206
-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 beb18c945..be3f36997 100644
--- a/Completion/Core/_path_files
+++ b/Completion/Core/_path_files
@@ -354,10 +354,10 @@ for prepath in "$prepaths[@]"; do
       # it as far as possible.
 
       if [[ "$tmp3" = */* ]]; then
-        PREFIX="${linepath}${cpre}${tmp3%%/*}"
+        PREFIX="${donepath}${linepath}${cpre}${tmp3%%/*}"
 	SUFFIX="/${tmp3#*/}"
       else
-        PREFIX="${linepath}${cpre}${tmp3}"
+        PREFIX="${donepath}${linepath}${cpre}${tmp3}"
 	SUFFIX=""
       fi