diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-09-21 10:20:40 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-09-21 10:20:40 +0300 |
commit | 4d70c949845fde77023095be59a7d57ad89616ee (patch) | |
tree | 49e5680933dcdfb51e578f2fb5fe9efafa34ae46 | |
parent | fa814c81726a2147f025922e3b7f59b987dd1d5d (diff) | |
download | liw-dot-files-4d70c949845fde77023095be59a7d57ad89616ee.tar.gz |
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
-rw-r--r-- | config/starship/config.toml | 3 |
1 files changed, 3 insertions, 0 deletions
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 |