humantime.fish:在Fish中将毫秒转换为人类可读的字符串

时间:2021-05-27 21:54:11
【文件属性】:
文件名称:humantime.fish:在Fish中将毫秒转换为人类可读的字符串
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-27 21:54:11
fish duration time fish-plugin Shell 人鱼 在中将毫秒转换为易于理解的字符串。 您有时间(以毫秒为单位),并且想要将其转换为人类可读的字符串,例如“ 3h 14m 15s”。 $ sleep 1 $ humantime $CMD_DURATION 1s 5ms 提示:Fish将$CMD_DURATION设置为最后一个命令的运行时间(以毫秒为单位)。 安装 与安装: fisher install jorgebucaran/humantime.fish 执照
【文件预览】:
humantime.fish-main
----functions()
--------humantime.fish(522B)
----.github()
--------workflows()
----tests()
--------humantime.fish(456B)
----LICENSE.md(1KB)
----README.md(531B)

网友评论