Add nvm
authorDavid Kerkeslager <kerkeslager@gmail.com>
Fri, 17 Jul 2020 19:09:44 +0000 (15:09 -0400)
committerDavid Kerkeslager <kerkeslager@gmail.com>
Fri, 17 Jul 2020 19:09:57 +0000 (15:09 -0400)
.bashrc

diff --git a/.bashrc b/.bashrc
index fa3de8c..f7bcae4 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -133,3 +133,7 @@ set -o vi
 
 # pip should only run if there is a virtualenv currently activated
 export PIP_REQUIRE_VIRTUALENV=true
 
 # pip should only run if there is a virtualenv currently activated
 export PIP_REQUIRE_VIRTUALENV=true
+
+export NVM_DIR="$HOME/.nvm"
+[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh"  # This loads nvm
+[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm"  # This loads nvm bash_completion