Slow shell startup after installing nvm

Fixing slow shell startup after installing nvm