From: Andre Ramnitz Date: Sat, 19 Apr 2025 22:34:02 +0000 (+0200) Subject: starship: restore command duration X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=6cb8a0bb3873e98c06f7286e54ef25b69fb505b7;p=dotfiles.git starship: restore command duration --- diff --git a/dot-config/starship.toml b/dot-config/starship.toml index 73bd66bd..652723d4 100644 --- a/dot-config/starship.toml +++ b/dot-config/starship.toml @@ -16,9 +16,18 @@ ${git_status}\ [ ](fg:green bg:bright-black)\ $c\ $rust\ -[  ](bg:bright-black fg:189)[](fg:bright-black bg:default)\ +${cmd_duration}[  ](bg:bright-black fg:189)[](fg:bright-black bg:default)\ \n$character""" +[cmd_duration] +min_time = 2000 +format = '[$duration]($style)' +style = 'fg:yellow bg:bright-black' +show_milliseconds = false +disabled = false +show_notifications = false +min_time_to_notify = 45000 + [character] success_symbol = '[❯](bold green) ' error_symbol = '[❯](bold red) '