diff --git a/.config/fish/functions/latex-color.fish b/.config/fish/functions/latex-color.fish index c5328f6..c7fbfed 100644 --- a/.config/fish/functions/latex-color.fish +++ b/.config/fish/functions/latex-color.fish @@ -47,6 +47,7 @@ function latex-color --description "Get the LaTeX color from HEX code" set a (math "0x$(string sub -s 7 -l 2 $hex) / 255") + set -x LC_NUMERIC C if test $a -eq 1 printf "{%.2f, %.2f, %.2f}\n" $r $g $b else