WIP: Cleanup .bashrc

This commit is contained in:
tosu 2024-06-21 06:30:08 +02:00
parent 29daa37efe
commit 58e59d71dd
1 changed files with 4 additions and 4 deletions

View File

@ -6,11 +6,11 @@
############################### logging (posix) ################################ ############################### logging (posix) ################################
__log () { __log () {
case "${1-}" in case "${1-}" in
red) ansi='41;30' ;; red) ansi='41;30' ;;
orange) ansi='43;30' ;; orange) ansi='43;30' ;;
blue) ansi='44;30' ;; blue) ansi='44;30' ;;
green) ansi='42;30' ;; green) ansi='42;30' ;;
*) ansi='45;30' ;; *) ansi='45;30' ;;
esac esac
shift shift
>&2 printf "\033[${ansi}m%s\033[m\n" "${*}" >&2 printf "\033[${ansi}m%s\033[m\n" "${*}"