cd_split constant

This commit is contained in:
Marc Beninca 2024-05-23 15:32:15 +02:00
parent 117d073138
commit 1f8d5b0a86
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

8
cd.sh
View file

@ -633,16 +633,16 @@ local file
cd_split () {
echo -n "\
─╌╌┄┄┈┈
${CD_SPLIT}
"
}
cd_step () {
CD_STEP=$((CD_STEP+1))
echo -n "\
─╌╌┄┄┈┈
${CD_SPLIT}
${CD_STEP} ${@}
─╌╌┄┄┈┈
${CD_SPLIT}
"
}
@ -675,5 +675,7 @@ CD_PM_APT="apt"
CD_PM_DNF="dnf"
CD_PM_PACMAN="pacman"
CD_SPLIT="─╌╌┄┄┈┈"
# run
cd_main