From dce7bfd25e7add4bbe6cb41905a1b7d8acd79cf6 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Fri, 16 Jan 2026 01:26:31 +0530 Subject: Combined git branch and status into a single segment --- modules/tools/starship/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/tools') diff --git a/modules/tools/starship/default.nix b/modules/tools/starship/default.nix index a5c7fc3..e8c657c 100644 --- a/modules/tools/starship/default.nix +++ b/modules/tools/starship/default.nix @@ -20,7 +20,7 @@ [╰─](red)$status$character ''; - character.format = "[>](red)"; + character.format = "[](red)"; username = { style_user = "blue"; @@ -43,12 +43,12 @@ git_branch = { style = "bold yellow"; - format = mkSegment "$symbol$branch(:$remote_branch)"; + format = ''[┄\[](red)[$symbol$branch(:$remote_branch)]($style)''; }; git_status = { - format = mkSegment "$all_status$ahead_behind"; style = "cyan"; + format = ''( [$all_status$ahead_behind]($style))[\]](red)''; }; nix_shell = { -- cgit v1.2.3