changed display for git_status in starship

This commit is contained in:
Christoph Hollizeck 2024-04-04 12:33:30 +02:00
parent a72108d49f
commit d69a1b81fa

View file

@ -50,14 +50,15 @@ in {
format = "[+$added]($added_style)/[-$deleted]($deleted_style) "; format = "[+$added]($added_style)/[-$deleted]($deleted_style) ";
}; };
git_status = { git_status = {
ahead = "[ $count](bold green)"; format = "([$all_status$ahead_behind]($style) )";
ahead = "[$count](bold green)";
behind = "[$count](bold red)"; behind = "[$count](bold red)";
diverged = "[$ahead_count$behind_count](red)"; diverged = "[$ahead_count$behind_count](red)";
deleted = "[$count](red)"; deleted = "[$count](red) ";
modified = "[!$count](yellow)"; modified = "[!$count](yellow) ";
staged = "[+$count](green)"; staged = "[+$count](green) ";
renamed = "[$count](green)"; renamed = "[$count](green) ";
untracked = "[?$count](blue)"; untracked = "[?$count](blue) ";
}; };
}; };
}; };