From 503d101129495169de23dbb6ca3f1a9f32202916 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Mon, 26 Oct 2015 23:26:05 -0700 Subject: [PATCH] Include nvm if installed and did cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Add nvm if included • Add bash complete for nvm • Remove virtualenvwrapper because I don't use it • Remove dupe PATH • Remove unused from PATH --- bash/environment | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bash/environment b/bash/environment index 29a7cdf..faec1c6 100644 --- a/bash/environment +++ b/bash/environment @@ -48,11 +48,9 @@ _add-path /usr/local/mysql/bin _add-path /opt/vertica/bin _add-path /opt/local/bin _add-path /opt/local/sbin -_add-path /opt/bin _add-path ~/bin _add-path /usr/local/go/bin _add-path ~/.bin -_add-path $HOME/Library/Haskell/bin if [[ $(uname) == 'Darwin' ]]; then export BS_OS='osx' @@ -62,8 +60,5 @@ fi export EDITOR='vim' -# python virtualenvwrapper -export WORKON_HOME="$HOME/.virtualenvs" -if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then - source /usr/local/bin/virtualenvwrapper.sh -fi +[[ -f ~/.nvm/nvm.sh ]] && source ~/.nvm/nvm.sh +[[ -r $NVM_DIR/bash_completion ]] && source $NVM_DIR/bash_completion