1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-08 12:01:21 +02:00

Greg Klanderman: 27262: prefixes incorrect with accept-exact-dirs

This commit is contained in:
Peter Stephenson 2009-09-14 08:40:48 +00:00
parent 1f6225fd78
commit a32f3b2ffc
2 changed files with 8 additions and 3 deletions

View file

@ -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 $
*****************************************************

View file

@ -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