Skip to content

Commit

Permalink
Only put RVM to path if it is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
vesan committed Dec 29, 2015
1 parent c1efe1d commit 19b8cf3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions zshenv
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
if [[ -s ~/.rvm/scripts/rvm ]] ; then source ~/.rvm/scripts/rvm ; fi
if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source ~/.rvm/scripts/rvm ; fi

PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
if [ -f $HOME/.rvm/bin ]; then
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
fi

export TERM='xterm-256color'

0 comments on commit 19b8cf3

Please sign in to comment.