cd_step any

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

4
cd.sh
View file

@ -638,14 +638,12 @@ cd_split () {
} }
cd_step () { cd_step () {
if [ "${1}" ] ; then
CD_STEP=$((CD_STEP+1)) CD_STEP=$((CD_STEP+1))
echo -n "\ echo -n "\
╭─╌╌┄┄┈┈ ╭─╌╌┄┄┈┈
${CD_STEP} ${1} ${CD_STEP} ${@}
╰─╌╌┄┄┈┈ ╰─╌╌┄┄┈┈
" "
fi
} }
cd_write () { cd_write () {