Skip to content

Turn milliseconds into a human-readable string in Fish

License

Notifications You must be signed in to change notification settings

kaysond/humantime.fish

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

humantime.fish

Turn milliseconds into a human-readable string in Fish.

You have the time in milliseconds and want to turn it into a human-readable string like "3h 14m 15s".

$ sleep 1
$ humantime $CMD_DURATION
1s 5ms

Tip: $CMD_DURATION is set by Fish to the running time of the last command in milliseconds.

Installation

Install with Fisher:

fisher install jorgebucaran/humantime.fish

License

MIT

About

Turn milliseconds into a human-readable string in Fish

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%