split,step

This commit is contained in:
Marc Beninca 2024-04-30 12:36:33 +02:00
parent 1998b57e89
commit 54dd37f1c3
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

10
cd.sh
View file

@ -352,13 +352,19 @@ local file
fi fi
} }
cd_split () {
echo -n "\
╶─╌╌┄┄┈┈
"
}
cd_step () { cd_step () {
if [ "${1}" ] ; then if [ "${1}" ] ; then
CD_STEP=$((CD_STEP+1)) CD_STEP=$((CD_STEP+1))
echo -n "\ echo -n "\
╭─╌┄┈ ╭─╌╌┄┄┈
${CD_STEP} ${1} ${CD_STEP} ${1}
╰─╌ ╰─╌╌┄┄┈
" "
fi fi
} }