Aha! Now I know that nvm was slowing my shell startup down. Now I've reconfigured .zshrc to lazy-load nvm, and everything's snappy: zstyle ':omz:plugins:nvm' lazy yes
Speeding up my ZSH shell
11–20 of 133 posts
Re: Speeding up my ZSH shell
#12Re: Speeding up my ZSH shell
#13From the post, it seems like ZSH tries to update on every shell spawn: DISABLE_AUTO_UPDATE="true" WTF? Even if we ignore the crime of non-critical software updating itself, the fact that it does it on every start instead of every day or week is insane. I do not want my shell sending network requests to odd servers without explicit action from me, thanks.
Re: Speeding up my ZSH shell
#14Re: Speeding up my ZSH shell
#15Re: Speeding up my ZSH shell
#16Fish shell with starship. You will never look back.
Re: Speeding up my ZSH shell
#17Re: Speeding up my ZSH shell
#18Oh-my-zsh has a lot of cool and handy features, but it is a huge and complex beast. Personally, I only cared about 3–4 features, so I simply removed it and sought out how to enable those features alone. Additionally, a lot of functionality which I wanted wasn’t there in OMZ, so my setup had a lot of custom bits anyway. My zshrc, for reference: https://git.sr.ht/~whynothugo/dotfiles/tree/269248912920d25e...
Re: Speeding up my ZSH shell
#19Re: Speeding up my ZSH shell
#20Aha! Now I know that nvm was slowing my shell startup down. Now I've reconfigured .zshrc to lazy-load nvm, and everything's snappy: zstyle ':omz:plugins:nvm' lazy yes