Browse Source

Use BASHUM_COLOR_* globals for color codes

Alois Mahdal 3 years ago
parent
commit
c877c56c9f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dotfiles/bash/main.bashrc

+ 1
- 1
dotfiles/bash/main.bashrc View File

56
     local msg=${1:-this is done}
56
     local msg=${1:-this is done}
57
     local stime=$2
57
     local stime=$2
58
     bb "$stime"
58
     bb "$stime"
59
-    echo -e "hey, \033[1;31m$msg\033[1;0m!"
59
+    echo -e "hey, $BASHUM_COLOR_LRED$msg$BASHUM_COLOR_NORMAL"
60
     notify-send -a 'nn()' "hey, $msg"
60
     notify-send -a 'nn()' "hey, $msg"
61
 }
61
 }
62
 
62