Hacker News new | ask | show | jobs
by anderscarling 3229 days ago
I can't encourage people enough to actually set up their zsh manually instead of running a configuration framework.

I spent a few hours on this about a year back and went from over 2s to about 0.15s for a full run of an interactive login shell (`time zsh -l -i -c 'echo "test"'`). No functionality lost, at least none that I actually used and cared about.

Definitely one of the best quality of life improvements I've made to my setup in recent years.

2 comments

Couldn't agree more. I did the same. Big improvement in performance and I have a better idea of how to customize as per my preference.

I was also worried about random code getting downloaded to my machine and getting executed.

Thanks for showing us how to test that. My standard ohmyzsh takes 0.185 seconds.

  ~ time zsh -l -i -c 'echo "test"'
test zsh -l -i -c 'echo "test"' 0.09s user 0.07s system 86% cpu 0.185 total ~