From fc81915a703d78c72158cd9d9f5e7706bea3431f Mon Sep 17 00:00:00 2001 From: nicco Date: Mon, 30 Nov 2026 18:12:14 +0100 Subject: [PATCH] use duration instead of time --- files/starship.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/files/starship.toml b/files/starship.toml index 55d0923..8558cb2 100644 --- a/files/starship.toml +++ b/files/starship.toml @@ -26,7 +26,7 @@ $docker_context\ $conda\ $pixi\ [](fg:color_bg3 bg:color_bg1)\ -$time\ +$cmd_duration\ [ ](fg:color_bg1)\ $line_break$character""" @@ -177,11 +177,11 @@ format = '[[ $symbol( $environment) ](fg:#83a598 bg:color_bg3)]($style)' style = "bg:color_bg3" format = '[[ $symbol( $version)( $environment) ](fg:color_fg0 bg:color_bg3)]($style)' -[time] -disabled = false -time_format = "%R" +[cmd_duration] +min_time = 100 +show_milliseconds = true style = "bg:color_bg1" -format = '[[  $time ](fg:color_fg0 bg:color_bg1)]($style)' +format = '[[ $duration ](fg:color_fg0 bg:color_bg1)]($style)' [line_break] disabled = false