diff --git a/.zshrc b/.zshrc index 3e3186b..21f67d5 100644 --- a/.zshrc +++ b/.zshrc @@ -32,8 +32,8 @@ if [[ -d "$HOME/.cargo" ]]; then export PATH=$HOME/.cargo/bin:$PATH fi -which rbenv &> /dev/null -if (( !$? )); then +if [[ -d "$HOME/.rbenv" ]]; then + export PATH="$HOME/.rbenv/bin:$PATH" eval "$(rbenv init -)" fi