From 6cb8a0bb3873e98c06f7286e54ef25b69fb505b7 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Sun, 20 Apr 2025 00:34:02 +0200 Subject: [PATCH] starship: restore command duration --- dot-config/starship.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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) ' -- 2.51.2