export NVM_DIR=~/.nvm
mkdir -p ~/.nvm
source $(brew --prefix nvm)/nvm.sh
export NVM_DIR=~/.nvm
mkdir -p ~/.nvm
if [[ -a $(brew --prefix nvm)/nvm.sh ]]; then
    source $(brew --prefix nvm)/nvm.sh
fi
Test if file exists before loading nvm
Test if file exists before loading nvm
