From 31ec6d262239e3407bb43ca3f90926ffeb02a1ad Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 13 Jul 2023 13:18:35 +1000 Subject: [PATCH] Nicely display command duration in prompt with icon --- config/starship.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/starship.toml b/config/starship.toml index 0f81b6c..3eba119 100644 --- a/config/starship.toml +++ b/config/starship.toml @@ -6,6 +6,9 @@ format = '$all$kubernetes$line_break$jobs$battery$time$status$os$container$shell success_symbol = "[❯](bold purple)" vicmd_symbol = "[❮](bold purple)" +[cmd_duration] +format = '[ $duration]($style) ' + [git_status] style = "218"