mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +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
|
||||
|
||||
if [[ "$tpre" = */* ]]; then
|
||||
PREFIX="${donepath}${linepath}${cpre}${tpre%%/*}"
|
||||
SUFFIX="/${tsuf#*/}"
|
||||
tmp2="${cpre}${tpre%%/*}"
|
||||
PREFIX="${donepath}${linepath}${tmp2}"
|
||||
SUFFIX="/${tpre#*/}${tsuf#*/}"
|
||||
else
|
||||
PREFIX="${donepath}${linepath}${cpre}${tpre}"
|
||||
SUFFIX="${tsuf}"
|
||||
tmp2="${cpre}${tpre}"
|
||||
PREFIX="${donepath}${linepath}${tmp2}"
|
||||
SUFFIX="${tsuf}"
|
||||
fi
|
||||
|
||||
if (( tmp4 )) ||
|
||||
|
|
Loading…
Reference in a new issue