mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +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-}
|
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…
Reference in a new issue