handle American English spelling in color names

This commit is contained in:
darealshinji
2017-07-25 22:56:46 +02:00
committed by GitHub
parent 212426f11f
commit ed1020c196

View File

@@ -149,13 +149,13 @@ getColor () {
'yellow') color_ret='\033[0m\033[1;33m';;
'white') color_ret='\033[0m\033[1;37m';;
'dark grey') color_ret='\033[0m\033[1;30m';;
'dark grey'|'dark gray') color_ret='\033[0m\033[1;30m';;
'light red') color_ret='\033[0m\033[1;31m';;
'light green') color_ret='\033[0m\033[1;32m';;
'light blue') color_ret='\033[0m\033[1;34m';;
'light purple') color_ret='\033[0m\033[1;35m';;
'light cyan') color_ret='\033[0m\033[1;36m';;
'light grey') color_ret='\033[0m\033[37m';;
'light grey'|'light gray') color_ret='\033[0m\033[37m';;
# Some 256 colors
'orange') color_ret="$(colorize '202')";; #DarkOrange
'light orange') color_ret="$(colorize '214')";; #Orange1