aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-07-24 01:51:37 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-07-24 01:51:37 +0300
commit345cf87b8f1f1c9b7e1396b7ab2fd9c4400a8cd0 (patch)
treedf8ab546ca4b691d5ca28edfbc43f0e140ff2208
parent22a761208d24027a26daa947a7b4034365fefc16 (diff)
Add missing colors to fix color comparison
Added magenta and cyan that were only present with their alternative names (fuchsia and aqua). See https://en.wikipedia.org/wiki/X11_color_names#Clashes_between_web_and_X11_colors_in_the_CSS_color_scheme
-rwxr-xr-xfunctions/colors.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions/colors.zsh b/functions/colors.zsh
index e98bfd4f..9309a225 100755
--- a/functions/colors.zsh
+++ b/functions/colors.zsh
@@ -97,7 +97,9 @@ function getColorCode() {
codes[yellow]=011
codes[blue]=012
codes[fuchsia]=013
+ codes[magenta]=013
codes[aqua]=014
+ codes[cyan]=014
codes[white]=015
codes[grey0]=016
codes[navyblue]=017