[ Thanks to Mike
Golvach for this link. ]
“Here’s another cool thing you can do with zsh that
involves color. Personally, I’m happy with a two-color scheme that
makes my eyes sizzle (like blue on red – or red on blue – both of
which look somewhat 3 dimensional), but you have to make room for
color in your life. It’s not all black and white, even though it
seems that way most of the time 😉“In order to make use of this functionality, you’ll have to use
the modular functionality of zsh. Today, we’ll be looking at color
completion, but this isn’t to say that this is the limit of what
you can do with the shell. Just the limit of what I can manage to
type today… Doing color completion in zsh requires two modules:
complist and colors. The first requires you to set the extendedglob
option to true and the second isn’t really necessary, unless you
don’t want to remember what number equals what color in the ansi
color scheme. Below, some quick examples of how you can set this up
at the command line (or put in your .zshrc if you find you like it
and dont’ want to hassle with this constantly). Note that both
options require that you load up additional modules within
zsh:”

