diff --git a/default.inc b/default.inc index 88bfaea..fa83145 100755 --- a/default.inc +++ b/default.inc @@ -218,8 +218,10 @@ DIVIDER(){ else local length=$3 fi local c=0; local dashes=''; until [ $c = ${length} ]; do local dashes="${dashes}-"; local c=`expr $c + 1`; done + + [ ${1} -eq 1 ]) && echo [ "${clr}" == "." ] && echo ${dashes} || echo -e "${idsCL[${clr~}]}${dashes}${idsCL[Default]}" - [ "${1}" == "true" ] && echo + ([ ${1} -eq 2 ] || [ "${1}" == "true" ]) && echo } DIVIDER_C(){ [ -z ${2+x} ] && clr='yellow' || clr=$2