This commit is contained in:
Marc Beninca 2024-06-04 20:33:27 +02:00
parent d868285484
commit 51f24cabcd
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

17
cd.sh
View file

@ -576,7 +576,12 @@ local path
cd_write "${CD_PYTHON_PACKAGES}/env.py" "\
$(cd_echo CD_OS_ID CD_OS_VERSION)
$(cd_echo CD_HORIZONTAL CD_OPEN CD_SHUT CD_SPLIT)
$(cd_echo CD_OPEN CD_SHUT)
$(cd_echo CD_HORIZONTAL)
$(cd_echo CD_DOWN CD_SPLIT CD_UP)
"
#
cd_split
@ -702,9 +707,9 @@ cd_split () {
cd_step () {
CD_STEP=$((CD_STEP+1))
echo -n "\
${CD_BOX_DOWN}${CD_HORIZONTAL}
${CD_DOWN}
${CD_BOX_VERTICAL} ${CD_STEP} ${@}
${CD_BOX_UP}${CD_HORIZONTAL}
${CD_UP}
"
}
@ -744,10 +749,14 @@ CD_PM_APT="apt"
CD_PM_DNF="dnf"
CD_PM_PACMAN="pacman"
CD_HORIZONTAL="${CD_BOX_HORIZONTAL}╌╌┄┄┈┈"
CD_OPEN="${CD_BOX_DOWN}${CD_BOX_LEFT}"
CD_SHUT="${CD_BOX_UP}${CD_BOX_LEFT}"
CD_HORIZONTAL="${CD_BOX_HORIZONTAL}╌╌┄┄┈┈"
CD_DOWN="${CD_BOX_DOWN}${CD_HORIZONTAL}"
CD_SPLIT="${CD_BOX_RIGHT}${CD_HORIZONTAL}"
CD_UP="${CD_BOX_UP}${CD_HORIZONTAL}"
# run
cd_main "${@}"