From 4ed32db4081a6f7958f770071cb97f3ebec85925 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 6 Oct 2024 21:08:09 +0200 Subject: [PATCH] force dot instead of comma --- .config/fish/functions/latex-color.fish | 1 + 1 file changed, 1 insertion(+) 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