functions.zsh: use first-found time
This commit is contained in:
parent
7e33c0ccfa
commit
86448eacc3
@ -34,7 +34,7 @@ upload() {
|
||||
|
||||
timesh() {
|
||||
shell=${1:-$SHELL}
|
||||
for i in $(seq 1 10); do /usr/bin/time $shell -i -c exit; done
|
||||
for i in $(seq 1 10); do time $shell -i -c exit; done
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user