Shell script to source if you would like colored echo commands
Add the following line to the top of your shell script to pull in the latest version.
source <(curl -s https://raw.githubusercontent.com/u-clarkdeveloper/color_echo_sh/main/color_echo.sh)
checkmark and xmark have also been added, so you can do things like the following
if [[ -n ${!some_var} ]]; then
info "Checking Local Enironmental Variable: $some_var... $(checkmark)"
else
info "Checking Local Enironmental Variable: $some_var... $(xmark)"
fi
this would produce output similar to
for (( i = 30; i < 38; i++ )); do echo -e "\033[0;"$i"m Normal: (0;$i); \033[1;"$i"m Light: (1;$i)"; done