diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2018-08-06 01:38:19 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2018-08-06 01:38:19 +0300 |
commit | 8beff9fee6afb5ddc43161ff729c563415dc9d45 (patch) | |
tree | 6bdc2dd7d88f3bec6b0552f2c00cce4af85db407 /functions | |
parent | 3c57e4a571418839c1f48865b92efce9355fbb2a (diff) | |
parent | 5ce384fb315528cefb33e76793f27c6b7936185a (diff) |
Merge remote-tracking branch 'JulienPivard/transparent_back_fix' into prepare_066
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/colors.zsh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functions/colors.zsh b/functions/colors.zsh index e98bfd4f..7befbb2c 100755 --- a/functions/colors.zsh +++ b/functions/colors.zsh @@ -79,6 +79,10 @@ function getColorCode() { else echo -n "$1" fi + # Check if value is none with any case. + elif [[ "${(L)1}" == "none" ]] + then + echo -n 'none' else typeset -A codes # https://jonasjacek.github.io/colors/ |