2 attrs=(none bold dim italic underline blink undefined 'reverse video' invisible
4 colors=(default black red green yellow blue magenta cyan white)
5 for ai in {0..5} {7..9}; do
6 [[ $ai == 0 ]] && a='' || a="$ai;"
7 echo "$ai: $attrs[(($ai+1))]"
9 [[ $fi == 29 ]] && f='' || f="$fi;"
11 for bi in {39..47}; do
12 [[ $bi == 39 ]] && b='' || b="$bi"
13 echo -ne "\e[$a$f$b""m${(r[7])colors[(($fi-28))]}\e[0m "