Re:Zsh Configuration from the Ground Up
by timewarrior on Monday August 21, 2017 @09:46PM
(#15069149)
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.
Re:Zsh Configuration from the Ground Up
by stephen123 on Monday August 21, 2017 @11:14PM
(#15069439)
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
~
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.