6 lines
186 B
Bash
6 lines
186 B
Bash
|
# Set NVM_DIR if it isn't already defined
|
||
|
[[ -z "$NVM_DIR" ]] && export NVM_DIR="$HOME/.nvm"
|
||
|
|
||
|
# Load nvm if it exists
|
||
|
[[ -f "$NVM_DIR/nvm.sh" ]] && source "$NVM_DIR/nvm.sh" --fast-reuse
|