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:
Alexander Gonzalez
2021-07-10 16:54:34 -04:00
committed by GitHub
parent 9126d78d0e
commit 9f337d15e7
8 changed files with 350 additions and 1 deletions
+1
View File
@@ -26,6 +26,7 @@ pub const PROMPT_ORDER: &[&str] = &[
"git_branch",
"git_commit",
"git_state",
"git_metrics",
"git_status",
"hg_branch",
"docker_context",