Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Strange, it's instantaneous for me(no perceptable delay) on Linux but I don't use the auto switching or anything.


this version check https://github.com/bdefore/dotfiles/blob/53a2e00c236a2d581ac... is much faster than the officially suggested https://github.com/nvm-sh/nvm#automatically-call-nvm-use (or at least used to be)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: