How do zsh ansi colour codes work?
Running the following code in your terminal should tell you whether your terminal supports 256 colors. for COLOR in {0..255} do for STYLE in “38;5″ do TAG=”\033[${STYLE};${COLOR}m” STR=”${STYLE};${COLOR}” echo -ne “${TAG}${STR}${NONE} ” done echo done it also shows you the code for each color in the form 38;5;x where x is the code for one … Read more