Skip to content
Snippets Groups Projects
Commit 640b7312dc39 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

[create documentation] use colors in all cases

parent 83f478378130
No related branches found
No related tags found
No related merge requests found
......@@ -18,13 +18,7 @@
out_dir=${project_home}/_build/$format
# color stuff
autoload colors
echo Number of colors: $terminfo[colors]
echo TERM: $TERM
if [[ "$terminfo[colors]" -gt 7 ]];
then
colors
fi
autoload colors && colors
for COLOR in RED GREEN YELLOW BLUE MAGENTA CYAN BLACK WHITE; do
eval $COLOR='$fg_no_bold[${(L)COLOR}]'
eval BOLD_$COLOR='$fg_bold[${(L)COLOR}]'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment