Make rbenv conditional

This commit is contained in:
Hunter Haugen 2016-04-19 20:29:29 +00:00
parent 22b60b7ed9
commit 98cfce9c40

View file

@ -437,7 +437,9 @@ ex () {
fi
}
eval "$(rbenv init -)"
if whence rbenv > /dev/null ; then
eval "$(rbenv init -)"
fi
[ -f ~/.zsh-fuzzy-match/fuzzy-match.zsh ] && source ~/.zsh-fuzzy-match/fuzzy-match.zsh
## Profiling options
#unsetopt xtrace