256color ZSH Plugin
This ZSH plugin enhances the terminal environment with 256 colors. It looks at
TERM environment variable and sees if there is respective
(n-)curses' termcap/terminfo descriptors for 256 colors available. The result
is a multicolor terminal, if available.
If you use Antigen, add the following line to your plugins list:
antigen bundle chrissicool/zsh-256color
Oh My Zsh
If you use Oh-My-Zsh,
zsh-256color to your
plugins list and clone this repository to your
$ ( cd $ZSH_CUSTOM/plugins && git clone https://github.com/chrissicool/zsh-256color )
If you're using Zgen, add
zgen load chrissicool/zsh-256color
.zshrc with your other zgen plugin load commands.
If the environment variable
$ZSH_256COLOR_DEBUG is set to any value when the
plugin loads, some debugging information is printed to stderr. This is useful
to find out which strategy was successful to set a 256 colors terminal.