aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/starship
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@proton.me>2026-01-16 01:26:31 +0530
committerArpit Chakladar <arpitchakladar@proton.me>2026-01-16 01:26:31 +0530
commitdce7bfd25e7add4bbe6cb41905a1b7d8acd79cf6 (patch)
tree92247ac78dcc91434612e0b37733553ffe8502aa /modules/tools/starship
parentf0351958737901e8e6d3d8722c348d817a4d0823 (diff)
downloadhome-manager-config-dce7bfd25e7add4bbe6cb41905a1b7d8acd79cf6.tar.gz
home-manager-config-dce7bfd25e7add4bbe6cb41905a1b7d8acd79cf6.zip
Combined git branch and status into a single segment
Diffstat (limited to 'modules/tools/starship')
-rw-r--r--modules/tools/starship/default.nix6
1 files changed, 3 insertions, 3 deletions
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 = {