Fix bright colors
Remove old code that set bright colors equal to normal colors. This code
was ancient and led to bright colors being unusable. The code originates
from 0e37d8ef86.
This commit is contained in:
parent
93324c0600
commit
beacb0ad35
|
|
@ -323,12 +323,6 @@ function foregroundColor() {
|
|||
function getColorCode() {
|
||||
# Check if given value is already numerical
|
||||
if [[ "$1" = <-> ]]; then
|
||||
# ANSI color codes distinguish between "foreground"
|
||||
# and "background" colors. We don't need to do that,
|
||||
# as ZSH uses a 256 color space anyway.
|
||||
if [[ "$1" = <8-15> ]]; then
|
||||
echo -n $(($1 - 8))
|
||||
else
|
||||
echo -n "$1"
|
||||
fi
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue