about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-29 18:10:23 +0100
committerSoispha <soispha@vhack.eu>2023-12-29 18:10:23 +0100
commitb2e3e1ed324f0a2dcb2242bbf67ea52805a07667 (patch)
tree04d6466f0e7e80972e0e918cb78cf07e69d0dbe6 /hm
parentfeat(hm/conf/starship): Add basic config (diff)
downloadnixos-config-b2e3e1ed324f0a2dcb2242bbf67ea52805a07667.zip
fix(hm/conf/starship): Correctly escape strings
Diffstat (limited to 'hm')
-rw-r--r--hm/soispha/conf/starship/default.nix7
1 files changed, 4 insertions, 3 deletions
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;