Added support for nvm to the .bashrc
authorDavid Kerkeslager <kerkeslager@gmail.com>
Mon, 9 Feb 2015 13:49:16 +0000 (08:49 -0500)
committerDavid Kerkeslager <david.kerkeslager@globalpovertyproject.com>
Tue, 4 Aug 2015 15:01:26 +0000 (15:01 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index fad15ea..0e28220 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -116,3 +116,7 @@ on_prompt() {
 
 # Call on_prompt() every time the command prompt executes
 PROMPT_COMMAND=on_prompt
+
+export NVM_DIR="/Users/david/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm
+