From 345cf87b8f1f1c9b7e1396b7ab2fd9c4400a8cd0 Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Tue, 24 Jul 2018 00:51:37 +0200 Subject: [PATCH] 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 --- functions/colors.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/colors.zsh b/functions/colors.zsh index e98bfd4..9309a22 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