A collection of scripts and configurations for Bash (and others)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
-
- _CC() {
- local c="0;00"
- if [ "$1" ]; then
- c="0;${1}"
- fi
- echo -n "\[\033[${c}m\]"
- }
-
- NORMAL=$(_CC '00')
- BLACK=$(_CC '30')
- BLUE=$(_CC '34')
- CYAN=$(_CC '36')
- GREEN=$(_CC '32')
- PURPLE=$(_CC '35')
- RED=$(_CC '31')
- WHITE=$(_CC '37')
- YELLOW=$(_CC '33')
-
- BG_BLACK=$(_CC '40')
- BG_BLUE=$(_CC '44')
- BG_CYAN=$(_CC '46')
- BG_GREEN=$(_CC '42')
- BG_PURPLE=$(_CC '45')
- BG_RED=$(_CC '41')
- BG_WHITE=$(_CC '47')
- BG_YELLOW=$(_CC '43')
|