diff --git a/cd.sh b/cd.sh index f1b7806..6a9b219 100644 --- a/cd.sh +++ b/cd.sh @@ -638,14 +638,12 @@ cd_split () { } cd_step () { - if [ "${1}" ] ; then - CD_STEP=$((CD_STEP+1)) - echo -n "\ + CD_STEP=$((CD_STEP+1)) + echo -n "\ ╭─╌╌┄┄┈┈ -│ ${CD_STEP} ${1} +│ ${CD_STEP} ${@} ╰─╌╌┄┄┈┈ " - fi } cd_write () {