Added support for nvm to the .bashrc
[dotfiles] / .bashrc
diff --git a/.bashrc b/.bashrc
index 08021f5..0e28220 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -55,10 +55,10 @@ if [ -d $HOME/bin ]; then
        export PATH
 fi
 
-# Put $HOME/Library/Haskell/bin on the path. Installing cabal doesn't
+# Put $HOME/.cabal/bin on the path. Installing cabal doesn't
 # automatically put installed packages on the path.
-if [ -d $HOME/Library/Haskell/bin ]; then
-    PATH="$HOME/Library/Haskell/bin:$PATH"
+if [ -d $HOME/.cabal/bin ]; then
+    PATH="$HOME/.cabal/bin:$PATH"
     export PATH
 fi
 
@@ -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
+