projects
/
dotfiles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
export PATH
fi
-# Put $HOME/
Library/Haskel
l/bin on the path. Installing cabal doesn't
+# Put $HOME/
.caba
l/bin on the path. Installing cabal doesn't
# automatically put installed packages on the path.
# automatically put installed packages on the path.
-if [ -d $HOME/
Library/Haskel
l/bin ]; then
- PATH="$HOME/
Library/Haskel
l/bin:$PATH"
+if [ -d $HOME/
.caba
l/bin ]; then
+ PATH="$HOME/
.caba
l/bin:$PATH"
export PATH
fi
export PATH
fi
@@
-114,5
+114,11
@@
on_prompt() {
fi
}
fi
}
+set -o vi
+
# Call on_prompt() every time the command prompt executes
PROMPT_COMMAND=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
+