Skip to content

Commit

Permalink
me: starship: add counters to git_status.diverged
Browse files Browse the repository at this point in the history
  • Loading branch information
spikespaz committed Sep 16, 2022
1 parent 3e77e72 commit 26f4b2f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion users/jacob/programs/starship.nix
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,14 @@ in {
conflicted = "[ $count ](bold ${colors.red})";
ahead = "[ $count ](bold ${colors.green})";
behind = "[ $count ](bold ${colors.orange})";
diverged = "[ ](bold ${colors.purple})";
diverged = lib.concatStrings [
"[](bold ${colors.purple})"
" "
"[$ahead_count](bold ${colors.green})"
"[/](bold ${colors.fg3})"
"[$behind_count](bold ${colors.orange})"
" "
];
up_to_date = "[ ](bold ${colors.aqua})";
untracked = "[ $count ](bold ${colors.orange})";
stashed = "[ $count ](bold ${colors.yellow})";
Expand Down

0 comments on commit 26f4b2f

Please sign in to comment.