projects
/
dotfiles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added support for nvm to the .bashrc
[dotfiles]
/
.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
+