diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2018-08-08 02:11:44 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2018-08-08 02:11:44 +0300 |
commit | 424d41761d819e127309af0c31837b91f2bb24a1 (patch) | |
tree | ee8a33763aace0d7cf6fde3e2f34ed917794b311 /functions | |
parent | 057b07b214def74248628a841f95045e3e85028c (diff) |
Write comparison with double quotes
Diffstat (limited to 'functions')
-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 71ca7c9a..f4f211ca 100755 --- a/functions/colors.zsh +++ b/functions/colors.zsh @@ -313,7 +313,7 @@ function foregroundColor() { # into ZSH-Style color codes. function getColorCode() { # Early exit: Check if given value is already numerical - if [[ "$1" = <-> ]]; then + if [[ "$1" == <-> ]]; then # Pad color with zeroes echo -n "${(l:3::0:)1}" return |