2016-08-08 01:36:44 +08:00
|
|
|
# Set NVM_DIR if it isn't already defined
|
|
|
|
[[ -z "$NVM_DIR" ]] && export NVM_DIR="$HOME/.nvm"
|
2013-09-05 06:07:58 +08:00
|
|
|
|
2016-08-08 01:36:44 +08:00
|
|
|
# Load nvm if it exists
|
|
|
|
[[ -f "$NVM_DIR/nvm.sh" ]] && source "$NVM_DIR/nvm.sh"
|