From f5f88fcc2d39a49f9535192e0dbd3cac14723e42 Mon Sep 17 00:00:00 2001 From: Hugo Saporetti Junior Date: Fri, 1 Nov 2024 18:40:38 -0300 Subject: [PATCH] Adjust the rromao starship prompt: Add git metrics --- .../plugins/starship/hhs-presets/hhs-rromao.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bin/apps/bash/hhs-app/plugins/starship/hhs-presets/hhs-rromao.toml b/bin/apps/bash/hhs-app/plugins/starship/hhs-presets/hhs-rromao.toml index 96665bd4..d05c972b 100644 --- a/bin/apps/bash/hhs-app/plugins/starship/hhs-presets/hhs-rromao.toml +++ b/bin/apps/bash/hhs-app/plugins/starship/hhs-presets/hhs-rromao.toml @@ -33,8 +33,8 @@ $time\ $directory\ [](bold fg:#2AA198 bg:#859901)\ $git_branch\ -$git_status\ $git_metrics\ +$git_status\ [](bold fg:#859901)\ $line_break\ $character\ @@ -70,9 +70,15 @@ symbol = "療" style = "bold fg:#C4D3D4 bg:#859901" [git_status] -format = '[$all_status]($style)' +format = '[ $all_status]($style)' style = "bold fg:#C4D3D4 bg:#859901" +[git_metrics] +format = "([+$added]($added_style)[ -$deleted]($deleted_style))[]($added_style)" +added_style = "fg:#C4D3D4 bg:#859901" +deleted_style = "fg:#C4D3D4 bg:#859901" +disabled = false + [hg_branch] format = "[ $symbol$branch ]($style)" symbol = "療"