mirror of
https://tildegit.org/ben/dotfiles.git
synced 2025-03-31 10:13:21 +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