add CMD_DURATION to right prompt

master
Ben Harris 2024-10-06 21:44:41 -04:00
parent 78a7e03bbf
commit 734e67fb1f
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
function fish_right_prompt
if test $CMD_DURATION
printf %.3fs $(math $CMD_DURATION / 1000)
end
end