From ee7075b5f1ad3d2db12b20318540c834cc845c77 Mon Sep 17 00:00:00 2001 From: phreakocious Date: Thu, 1 Oct 2020 08:07:18 -0700 Subject: [PATCH] add that pesky dollar sign --- themes/colors.theme.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/colors.theme.bash b/themes/colors.theme.bash index ab4d8197..fbb1dc5c 100644 --- a/themes/colors.theme.bash +++ b/themes/colors.theme.bash @@ -109,7 +109,7 @@ function __color_white { function __color_rgb { r=$1 && g=$2 && b=$3 - [[ $r == g && $g == $b ]] && echo $(( $r / 11 + 232 )) && return # gray range above 232 + [[ $r == $g && $g == $b ]] && echo $(( $r / 11 + 232 )) && return # gray range above 232 echo "8;5;$(( ($r * 36 + $b * 6 + $g) / 51 + 16 ))" }