Skip to content

Commit

Permalink
Protect eval rbenv init
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaunier committed Oct 2, 2017
1 parent 6e60336 commit aa9cb15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export HOMEBREW_NO_ANALYTICS=1
# Actually load Oh-My-Zsh
source "${ZSH}/oh-my-zsh.sh"

# Load rbenv
eval "$(rbenv init -)"
# Load rbenv if installed
type -a rbenv > /dev/null && eval "$(rbenv init -)"

# Rails and Ruby uses the local `bin` folder to store binstubs.
# So instead of running `bin/rails` like the doc says, just run `rails`
Expand Down

0 comments on commit aa9cb15

Please sign in to comment.