Awesome
256color ZSH Plugin
This ZSH plugin enhances the terminal environment with 256 colors. It looks at
the chosen 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.
Plugin Installation
Antigen
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,
add zsh-256color
to your plugins
list and clone this repository to your
$ZSH_CUSTOM/plugins
directory:
$ ( cd $ZSH_CUSTOM/plugins && git clone https://github.com/chrissicool/zsh-256color )
Zgen
If you're using Zgen, add
zgen load chrissicool/zsh-256color
to your .zshrc
with your other zgen plugin load commands.
Zplugin
If you're using Zplugin, add
zplugin light "chrissicool/zsh-256color"
to your .zshrc
with your other zplugin load commands.
Debugging
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.