3 ms·
I followed this advice and my shell went from 1530ms to 35ms startup time. Main culprits were language switchers (nvm, jabba, pyenv). Which I moved to lazy loa
by joejag 3y ago
I followed this advice and my shell went from 1530ms to 35ms startup time.
Main culprits were language switchers (nvm, jabba, pyenv). Which I moved to lazy loading.
If I drop the ohmyzsh plugins startup time is 11ms. But, I want some quality of life.
There's a nice benchmarking command in the article if you want to test yours:
for i in $(seq 1 10); do /usr/bin/time $SHELL -i -c exit; done
- wrboyce 3y agoThat benchmark command isn’t great: https://github.com/romkatv/zsh-bench#how-not-to-benchmark https://github.com/romkatv/zsh-bench#how-not-to-benchmark