diff --git a/cd.sh b/cd.sh index c8169cb..f67399d 100644 --- a/cd.sh +++ b/cd.sh @@ -688,16 +688,16 @@ shift cd_split () { echo -n "\ -╶${CD_SPLIT} +╶${CD_BOX_HORIZONTAL} " } cd_step () { CD_STEP=$((CD_STEP+1)) echo -n "\ -${CD_BOX_DOWN}${CD_SPLIT} -│ ${CD_STEP} ${@} -╰${CD_SPLIT} +${CD_BOX_DOWN}${CD_BOX_HORIZONTAL} +${CD_BOX_VERTICAL} ${CD_STEP} ${@} +╰${CD_BOX_HORIZONTAL} " } @@ -715,7 +715,9 @@ local text="${2}" # constants CD_BOX_DOWN="╭" +CD_BOX_HORIZONTAL="─╌╌┄┄┈┈" CD_BOX_LEFT="╴" +CD_BOX_VERTICAL="│" CD_ERROR_CI=2 CD_ERROR_OS=1 @@ -733,7 +735,5 @@ CD_PM_APT="apt" CD_PM_DNF="dnf" CD_PM_PACMAN="pacman" -CD_SPLIT="─╌╌┄┄┈┈" - # run cd_main "${@}"