1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-09-21 19:10:08 +00:00

Added handling for bright colors.

This commit is contained in:
Dominik Ritter 2015-10-13 23:42:46 +02:00
parent 20447a22c9
commit f7e1f64b4c

View file

@ -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
} }