diff options
author | Ythildir <pivardjulien@gmail.com> | 2018-07-22 01:21:59 +0300 |
---|---|---|
committer | Ythildir <pivardjulien@gmail.com> | 2018-07-22 01:21:59 +0300 |
commit | 5ce384fb315528cefb33e76793f27c6b7936185a (patch) | |
tree | 628c16ad3aa8c352690a1d3851cca61355770744 /functions/colors.zsh | |
parent | e39e024e741bdfa139a700eccd4e481affdbf4a0 (diff) |
Test more readable
Diffstat (limited to 'functions/colors.zsh')
-rwxr-xr-x | functions/colors.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/colors.zsh b/functions/colors.zsh index 81e96ae1..7befbb2c 100755 --- a/functions/colors.zsh +++ b/functions/colors.zsh @@ -80,7 +80,7 @@ function getColorCode() { echo -n "$1" fi # Check if value is none with any case. - elif [[ $1 = [nN][oO][nN][eE] ]] + elif [[ "${(L)1}" == "none" ]] then echo -n 'none' else |