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