lint/lib/termColors.sh

28 lines
583 B
Bash
Raw Normal View History

2020-07-01 15:00:05 -04:00
#!/usr/bin/env bash
declare -Agr B=(
2020-07-30 16:18:24 -04:00
[B]=$(echo -e "\e[44m")
[C]=$(echo -e "\e[46m")
[G]=$(echo -e "\e[42m")
[K]=$(echo -e "\e[40m")
[M]=$(echo -e "\e[45m")
[R]=$(echo -e "\e[41m")
[W]=$(echo -e "\e[47m")
[Y]=$(echo -e "\e[43m")
2020-07-01 15:00:05 -04:00
)
declare -Agr F=(
2020-07-30 16:18:24 -04:00
[B]=$(echo -e "\e[0;34m")
[C]=$(echo -e "\e[0;36m")
[G]=$(echo -e "\e[0;32m")
[K]=$(echo -e "\e[0;30m")
[M]=$(echo -e "\e[0;35m")
[R]=$(echo -e "\e[0;31m")
[W]=$(echo -e "\e[0;37m")
[Y]=$(echo -e "\e[0;33m")
2020-07-01 15:00:05 -04:00
)
readonly NC=$(echo -e "\e[0m")
export B
export F
export NC