4 ms·
The nvm shell initialization would take, sometimes, seconds for me, every time I started a new shell. And the cd hook to auto switch mode versions also added pe
by hamandcheese 5y ago
The nvm shell initialization would take, sometimes, seconds for me, every time I started a new shell. And the cd hook to auto switch mode versions also added perceptible lag on each new terminal prompt.
- throwawaycuriou 5y agothis version check https://github.com/bdefore/dotfiles/blob/53a2e00c236a2d581acbcbcffaff3053ed6b7be5/dot_node#L16 https://github.com/bdefore/dotfiles/blob/53a2e00c236a2d581ac... is much faster than the officially suggested https://github.com/nvm-sh/nvm#automatically-call-nvm-use https://github.com/nvm-sh/nvm#automatically-call-nvm-use (or at least used to be)
- Rapzid 5y agoStrange, it's instantaneous for me(no perceptable delay) on Linux but I don't use the auto switching or anything.