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