Allow benchmarking of zsh

This commit is contained in:
Andrew Tomaka 2022-02-02 23:08:09 -05:00
parent 684ea21fa1
commit 2ba9571efa
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
2 changed files with 7 additions and 0 deletions

View file

@ -68,3 +68,4 @@ alias v="$EDITOR"
alias w="ruby -rwebrick -e'WEBrick::HTTPServer.new(Port: 8000, DocumentRoot: Dir.pwd).start'" alias w="ruby -rwebrick -e'WEBrick::HTTPServer.new(Port: 8000, DocumentRoot: Dir.pwd).start'"
alias wo="curl 'http://wttr.in/48823'" alias wo="curl 'http://wttr.in/48823'"
alias x="exit" alias x="exit"
alias zt="zsh-time"

View file

@ -76,3 +76,9 @@ function test-rails {
fi fi
fi fi
} }
function zsh-time {
for i in $(seq 1 10); do
time zsh -i -c exit
done
}