From c0497bf44cbd398b7ce2194e8504cf19e147c84a Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Wed, 29 Nov 2023 23:08:33 +0100 Subject: [PATCH] Shorter max Git branch name; styled the cmd_duration --- .config/starship.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/starship.toml b/.config/starship.toml index b3ca630..8bb52b0 100644 --- a/.config/starship.toml +++ b/.config/starship.toml @@ -90,6 +90,7 @@ format = '[ $symbol ($version) ]($style)' [git_branch] symbol = "" style = "bg:#FCA17D" +truncation_length = 30 format = '[ $symbol $branch ]($style)' [git_status] @@ -147,7 +148,8 @@ format = '[ $symbol ($version) ]($style)' [cmd_duration] min_time = 2000 -format = ' $duration ($style)' +#format = ' $duration ($style)' +format = '[](fg:#444444)[$duration](bg:#444444)[](fg:#444444) ($style)' [time] disabled = false