mirror of
https://github.com/starship/starship.git
synced 2026-06-24 02:01:36 +07:00
feat: Add the git_metrics module (#2827)
This PR adds a new module named git_metrics. It shows the added/deleted lines in the current git repository following the format: "[+$added_lines]($added_style) [-$deleted_lines]($deleted_style)".
This commit is contained in:
committed by
GitHub
parent
9126d78d0e
commit
9f337d15e7
@@ -26,6 +26,7 @@ pub const PROMPT_ORDER: &[&str] = &[
|
||||
"git_branch",
|
||||
"git_commit",
|
||||
"git_state",
|
||||
"git_metrics",
|
||||
"git_status",
|
||||
"hg_branch",
|
||||
"docker_context",
|
||||
|
||||
Reference in New Issue
Block a user