box/right,up
This commit is contained in:
parent
461c798983
commit
1c45fd6ff6
1 changed files with 4 additions and 2 deletions
6
cd.sh
6
cd.sh
|
@ -688,7 +688,7 @@ shift
|
||||||
|
|
||||||
cd_split () {
|
cd_split () {
|
||||||
echo -n "\
|
echo -n "\
|
||||||
╶${CD_BOX_HORIZONTAL}
|
${CD_BOX_RIGHT}${CD_BOX_HORIZONTAL}
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -697,7 +697,7 @@ cd_step () {
|
||||||
echo -n "\
|
echo -n "\
|
||||||
${CD_BOX_DOWN}${CD_BOX_HORIZONTAL}
|
${CD_BOX_DOWN}${CD_BOX_HORIZONTAL}
|
||||||
${CD_BOX_VERTICAL} ${CD_STEP} ${@}
|
${CD_BOX_VERTICAL} ${CD_STEP} ${@}
|
||||||
╰${CD_BOX_HORIZONTAL}
|
${CD_BOX_UP}${CD_BOX_HORIZONTAL}
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -717,6 +717,8 @@ local text="${2}"
|
||||||
CD_BOX_DOWN="╭"
|
CD_BOX_DOWN="╭"
|
||||||
CD_BOX_HORIZONTAL="─╌╌┄┄┈┈"
|
CD_BOX_HORIZONTAL="─╌╌┄┄┈┈"
|
||||||
CD_BOX_LEFT="╴"
|
CD_BOX_LEFT="╴"
|
||||||
|
CD_BOX_RIGHT="╶"
|
||||||
|
CD_BOX_UP="╰"
|
||||||
CD_BOX_VERTICAL="│"
|
CD_BOX_VERTICAL="│"
|
||||||
|
|
||||||
CD_ERROR_CI=2
|
CD_ERROR_CI=2
|
||||||
|
|
Loading…
Reference in a new issue