Y
Hacker News
new
|
ask
|
show
|
jobs
by
kyrias
4782 days ago
Hmm doesn't work for me, is it an option you need to turn on?
2 comments
kemist
4781 days ago
As randuser points out it's an environment variable. There's another one called TIMEFMT which lets you format the output.
Some examples:
https://github.com/search?q=TIMEFMT+extension%3Azshrc&ty...
link
randuser
4782 days ago
It's a normal variable, not one set by `setopt`. The following should make commands that take longer than 1 second be reported:
export REPORTTIME=1
link
Some examples: https://github.com/search?q=TIMEFMT+extension%3Azshrc&ty...