Allow benchmarking of zsh
This commit is contained in:
parent
684ea21fa1
commit
2ba9571efa
2 changed files with 7 additions and 0 deletions
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue