Added vi keybindings to my command line!
[dotfiles] / .bashrc
diff --git a/.bashrc b/.bashrc
index 08021f5..116567e 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
 
@@ -114,5 +114,11 @@ on_prompt() {
     fi
 }
 
+set -o vi
+
 # 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
+