tide/functions/lean_load_right_prompt_modules.fish

10 lines
297 B
Fish
Raw Normal View History

2020-04-21 21:52:24 +03:00
function lean_load_right_prompt_modules
set -g leanTimer (_lean_timer)
end
function _lean_timer
if test (math $CMD_DURATION/1000) -gt $lean_timer_duration
set -l leanTimerOutput (math --scale=$lean_timer_decimals $CMD_DURATION/1000)"s"
echo -n $leanTimerOutput
end
end