From 31a4033d1d6ae5dac50fa16b09a534f8898d15a0 Mon Sep 17 00:00:00 2001 From: Eric Phillips Date: Sun, 5 Feb 2017 23:57:52 -0700 Subject: [PATCH] switched nodejs management to nvm --- bashrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 7acd216..a2bf408 100644 --- a/bashrc +++ b/bashrc @@ -26,7 +26,7 @@ alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' complete -F _todo t -PATH="/home/ewpt3ch/bin:/home/ewpt3ch/tmux:/home/ewpt3ch/local/nodejs/bin:${PATH}:./:" +PATH="/home/ewpt3ch/bin:/home/ewpt3ch/tmux:${PATH}:./:" #export VMWARE_USE_SHIPPED_GTK="yes" export EDITOR=vim export PAGER=less @@ -40,3 +40,7 @@ if dropbox.py running ; then #start dropbox ~/bin/dropbox.py start fi + +export NVM_DIR="/home/ewpt3ch/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[[ -r $NVM_DIR/bash_completion ]] && . $NVM_DIR/bash_completion