mirror of
https://tildegit.org/ben/dotfiles.git
synced 2025-04-01 18:43:23 +00:00
add CMD_DURATION to right prompt
This commit is contained in:
parent
78a7e03bbf
commit
734e67fb1f
6
fish/.config/fish/functions/fish_right_prompt.fish
Normal file
6
fish/.config/fish/functions/fish_right_prompt.fish
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
function fish_right_prompt
|
||||||
|
if test $CMD_DURATION
|
||||||
|
printf %.3fs $(math $CMD_DURATION / 1000)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user