From b2e3e1ed324f0a2dcb2242bbf67ea52805a07667 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 29 Dec 2023 18:10:23 +0100 Subject: fix(hm/conf/starship): Correctly escape strings --- hm/soispha/conf/starship/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'hm') diff --git a/hm/soispha/conf/starship/default.nix b/hm/soispha/conf/starship/default.nix index b4c879b5..ba531c83 100644 --- a/hm/soispha/conf/starship/default.nix +++ b/hm/soispha/conf/starship/default.nix @@ -37,10 +37,11 @@ }; status = { disabled = false; - format = ''[($common_meaning \($status\))($signal_name \($signal_number\)))]($style)''; + format = "[($common_meaning \\($status\\))($signal_name \\($signal_number\\)))]($style)"; }; time = { - format = ''[\[$time\]]($style)''; + disabled = false; + format = "[\\[$time\\]]($style)"; }; username = { format = "as [$user]($style) "; @@ -58,7 +59,7 @@ git_commit = { tag_disabled = false; tag_symbol = "v"; - format = ''[(\[($hash$tag\])]($style)''; + format = "[(\\[($hash$tag\\])]($style)"; }; directory = { truncate_to_repo = true; -- cgit 1.4.1