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.
pull/22/head
Dominik Ritter 6 years ago
parent 93324c0600
commit beacb0ad35

@ -323,12 +323,6 @@ function foregroundColor() {
function getColorCode() { function getColorCode() {
# Check if given value is already numerical # Check if given value is already numerical
if [[ "$1" = <-> ]]; then 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" echo -n "$1"
fi fi
else else

Loading…
Cancel
Save