X-Git-Url: https://code.kerkeslager.com/?p=dotfiles;a=blobdiff_plain;f=.bashrc;h=116567e14d1d9901600989941cce0b0271fc75d9;hp=08021f5545d4d698f34f6c8cb708e98145b07607;hb=940c04349e64a17a7c7b4877c6e4db56d673a1d2;hpb=209b533f3d5f9ee5ed2aafa5d0eccb21fdc6a514 diff --git a/.bashrc b/.bashrc index 08021f5..116567e 100644 --- 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 +