Added handling for bright colors.

pull/22/head
Dominik Ritter 9 years ago
parent 20447a22c9
commit f7e1f64b4c

@ -255,6 +255,8 @@ function getColorCode() {
1=${1#bg-} 1=${1#bg-}
# Strip eventual "fg-" prefixes # Strip eventual "fg-" prefixes
1=${1#fg-} 1=${1#fg-}
# Strip eventual "br" prefixes ("bright" colors)
1=${1#br}
echo $codes[$1] echo $codes[$1]
fi fi
} }

Loading…
Cancel
Save