zshrc: add timesh() function

This commit is contained in:
surtur 2022-03-26 00:37:47 +01:00
parent 486fee013f
commit f14878faab
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

4
.zshrc

@ -174,5 +174,9 @@
echo $FILE_URL
}
timesh() {
shell=${1-$SHELL}
for i in $(seq 1 10); do /usr/bin/time $shell -i -c exit; done
}
eval "$(starship init zsh)"