Co-authored-by: Marc Cornellà <marc.cornella@live.com>
Fixes #5453.
* Export $NVM_DIR if it doesn't exist and use it when looking for nvm * Use $NVM_DIR when looking for nvm for completion * Use $NVM_DIR when looking for nvm in nvm_prompt_info