Fix NVM prompt to return if not used
This commit changes nvm prompt setup to return immediately if no node version is installed/available. Currently, prompt complains for lack of global node version. Specifically, if you install nvm (from brew or manually) and do not have global node installed (or set), then the prompt should not set or show anything. This commit ensures this by immediately returning if `nvm current` returns "none".pull/22/head
parent
88fd11a865
commit
f7b7ff21c9
Loading…
Reference in New Issue