Only load rbenv if on system

This commit is contained in:
Andrew Tomaka 2013-12-16 11:36:25 -05:00
parent fed3f011eb
commit 3f577e7682

4
.zshrc
View file

@ -13,7 +13,9 @@ if [[ "$OSTYPE" == darwin* ]]; then
PATH="/opt/boxen/homebrew/opt/coreutils/libexec/gnubin:$PATH"
MANPATH="/opt/boxen/homebrew/apt/coreutils/libexec/gnubin:$MANPATH"
else
if test -d "$HOME/.rbenv/bin" ; then
export PATH="$HOME/.rvenv/bin:$PATH"
fi
fi
if test -d /soft/linux/pkg/bin ; then
@ -95,5 +97,7 @@ export EDITOR='vim'
if [[ "$OSTYPE" == darwin* ]]; then
source /opt/boxen/env.sh
else
if test -d "$HOME/.rbenv/bin" ; then
eval "$(rbenv init -)"
fi
fi