mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 05:40:07 +00:00
Added handling for bright colors.
This commit is contained in:
parent
20447a22c9
commit
f7e1f64b4c
1 changed files with 2 additions and 0 deletions
|
@ -255,6 +255,8 @@ function getColorCode() {
|
|||
1=${1#bg-}
|
||||
# Strip eventual "fg-" prefixes
|
||||
1=${1#fg-}
|
||||
# Strip eventual "br" prefixes ("bright" colors)
|
||||
1=${1#br}
|
||||
echo $codes[$1]
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue