From 4d70c949845fde77023095be59a7d57ad89616ee Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 21 Sep 2023 10:20:40 +0300 Subject: starship: shorten git branch display On a Radicle repo, the remote branch name can be very long, so don't show that. Sponsored-by: author --- config/starship/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/starship/config.toml b/config/starship/config.toml index 9470c95..ed19041 100644 --- a/config/starship/config.toml +++ b/config/starship/config.toml @@ -8,6 +8,9 @@ error_symbol = "[>](bold bg:red)" truncate_to_repo = false style = "bold" +[git_branch] +format = 'on [$symbol$branch]($style) ' + [git_metrics] disabled = false -- cgit v1.2.1