ZSH: How to time a block of code?

后端 未结 4 578
死守一世寂寞
死守一世寂寞 2020-12-29 04:06

In bash I am able to write a script that contains something like this:

{ time {

#series of commands
echo \"something\"
echo \"another command\"
echo \"blah          


        
4条回答
提交回复
热议问题