1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-05 00:59:25 +00:00

[WIP] DO NOT USE

This commit is contained in:
Sorin Ionescu
2014-02-02 20:37:56 -05:00
parent 2ebdbdcff5
commit fb13aa3327
6 changed files with 7 additions and 6 deletions

View File

@ -57,7 +57,7 @@ FG[none]="$FX[none]"
BG[none]="$FX[none]"
colors=(black red green yellow blue magenta cyan white)
for color in {0..255}; do
if (( $color >= 0 )) && (( $color < $#colors )); then
if (( $color >= 0 && $color < $#colors )); then
index=$(( $color + 1 ))
FG[$colors[$index]]="\e[38;5;${color}m"
BG[$colors[$index]]="\e[48;5;${color}m"