diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2018-08-08 01:40:05 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2018-08-08 01:40:05 +0300 |
commit | beacb0ad35250e66bb04f00d1dcb4f1d4574cb81 (patch) | |
tree | cfcc6262a924e4d0dc3e3ec1bf340135a9c35f4d /functions/colors.zsh | |
parent | 93324c0600e57e5c3b6b4c10be972e83f3c88526 (diff) |
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 0e37d8ef865daddd6af02ba78b4a3bb86fd5917e.
Diffstat (limited to 'functions/colors.zsh')
-rwxr-xr-x | functions/colors.zsh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/functions/colors.zsh b/functions/colors.zsh index 17caa201..9ab8c18b 100755 --- a/functions/colors.zsh +++ b/functions/colors.zsh @@ -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 |