diff --git a/bash_profile b/bash_profile index fea37be..70da496 100644 --- a/bash_profile +++ b/bash_profile @@ -52,13 +52,9 @@ export LSCOLORS=GxFxCxDxBxegedabagaced #export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" #nvm -if [ -s "$HOME/.nvm" ] -then - export NVM_DIR="$HOME/.nvm" - [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" - [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" - #[ -s "$HOME/git/dotfiles/bash_profile.d/nvm.sh" ] && \. "$HOME/git/dotfiles/bash_profile.d/nvm.sh" -fi +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" #RVM [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" diff --git a/bashrc b/bashrc index 46a94c7..f000c7f 100644 --- a/bashrc +++ b/bashrc @@ -1,8 +1,3 @@ -#NVM -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" - #RVM export PATH="$PATH:$HOME/.rvm/bin"