From f14878faab8bd0e9c1c3422dd0ad606339b63a1d Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 26 Mar 2022 00:37:47 +0100 Subject: [PATCH] zshrc: add timesh() function --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zshrc b/.zshrc index 3d30f43..bea1348 100644 --- a/.zshrc +++ b/.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)"