functions.zsh: use first-found time

This commit is contained in:
surtur 2023-08-18 16:25:20 +02:00
parent 7e33c0ccfa
commit 86448eacc3
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -34,7 +34,7 @@ upload() {
timesh() { timesh() {
shell=${1:-$SHELL} 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
} }