From 117d073138d91542ad6b732c1b183305a990f59a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 23 May 2024 15:22:38 +0200 Subject: [PATCH] cd_step any --- cd.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 () {