mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-05 11:01:13 +02:00
zsh-workers/9805
This commit is contained in:
parent
e7a7aca823
commit
1353a03150
1 changed files with 4 additions and 4 deletions
|
@ -420,13 +420,13 @@ for prepath in "$prepaths[@]"; do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$tpre" = */* ]]; then
|
if [[ "$tpre" = */* ]]; then
|
||||||
PREFIX="${donepath}${linepath}${cpre}${tpre%%/*}"
|
|
||||||
SUFFIX="/${tsuf#*/}"
|
|
||||||
tmp2="${cpre}${tpre%%/*}"
|
tmp2="${cpre}${tpre%%/*}"
|
||||||
|
PREFIX="${donepath}${linepath}${tmp2}"
|
||||||
|
SUFFIX="/${tpre#*/}${tsuf#*/}"
|
||||||
else
|
else
|
||||||
PREFIX="${donepath}${linepath}${cpre}${tpre}"
|
|
||||||
SUFFIX="${tsuf}"
|
|
||||||
tmp2="${cpre}${tpre}"
|
tmp2="${cpre}${tpre}"
|
||||||
|
PREFIX="${donepath}${linepath}${tmp2}"
|
||||||
|
SUFFIX="${tsuf}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (( tmp4 )) ||
|
if (( tmp4 )) ||
|
||||||
|
|
Loading…
Reference in a new issue