use duration instead of time

This commit is contained in:
nicco
2026-11-30 18:12:14 +01:00
parent bbac23f476
commit fc81915a70
+5 -5
View File
@@ -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