aboutsummaryrefslogtreecommitdiff
path: root/functions/colors.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/colors.zsh')
-rwxr-xr-xfunctions/colors.zsh2
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