Quantcast
Channel: Change the output format of zsh's time - Super User
Browsing all 4 articles
Browse latest View live

Answer by exic for Change the output format of zsh's time

Another option is to disable the builtin command and use the time binary provided by your operating system.I have the following in my .zshrc:disable -r time # disable shell reserved wordalias...

View Article



Answer by anol for Change the output format of zsh's time

Just a small precision regarding Dennis Williamson's very useful answer (the "fairly close" part): bash's built-in time outputs to stderr, while zsh's outputs to stdout. This command can illustrate the...

View Article

Answer by Dennis Williamson for Change the output format of zsh's time

This is fairly close:$ TIMEFMT=$'\nreal\t%*E\nuser\t%*U\nsys\t%*S'$ time sleep 1real 1.01suser 0.00ssys 0.00s

View Article

Change the output format of zsh's time

I've just switched to zsh. However, I really don't like how the time builtin command also outputs the command that it's timing. I much prefer the bash style output. Anyone know how to switch it...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images