Created
October 22, 2013 23:19
-
-
Save cjlyth/7109883 to your computer and use it in GitHub Desktop.
NVM load script, include this in .profile instead of the one they package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hash nvm 2>/dev/null | |
if [ "$?" == "1" ]; then | |
if [ -f "$HOME/.nvm/nvm.sh" ]; then | |
. $HOME/.nvm/nvm.sh | |
if [ -f "$HOME/.nvm/bash_completion" ]; then | |
. $HOME/.nvm/bash_completion | |
fi | |
fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment