Skip to content

Commit

Permalink
Reinstall nvm due to
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrull committed Aug 13, 2019
1 parent e47c9bc commit e5df5bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
10 changes: 3 additions & 7 deletions bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 0 additions & 5 deletions bashrc
Original file line number Diff line number Diff line change
@@ -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"

Expand Down

0 comments on commit e5df5bb

Please sign in to comment.