mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-21 19:11:30 +01:00
zsh: alarm: add elapsed time fixup
This commit is contained in:
parent
4b457a022c
commit
015dd26a90
|
@ -97,7 +97,7 @@ function alarm {
|
|||
if [[ $1 -lt 3600 ]]; then
|
||||
minutes=$(($1/60))
|
||||
seconds=$(($1%60))
|
||||
printf "%02dm:%02dm" $minutes $seconds
|
||||
printf "%dm:%02dm" $minutes $seconds
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user