$zcurses_colors
–
Colors supported by zsh/curses
$zcurses_colors
contains the colors supported by the zsh/curses
module.
Links
Examples
- Print number of colors supported by the terminal
- Output:
1 2
zmodload zsh/curses typeset zcurses_colors
1
zcurses_colors=( black red green yellow blue magenta cyan white default )
BashSupport Pro is a Zsh IDE with support for $zcurses_colors – try it now!