Skip to content

Commit

Permalink
Update plugins/rbenv/rbenv.plugin.zsh
Browse files Browse the repository at this point in the history
Fix rbenv plugin for OS X latest homebrew
  • Loading branch information
ka8725 authored and ncanceill committed May 28, 2014
1 parent 7bb42fb commit 80828cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/rbenv/rbenv.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _rbenv-from-homebrew-installed() {
}

FOUND_RBENV=0
rbenvdirs=("$HOME/.rbenv" "/usr/local/rbenv" "/opt/rbenv")
rbenvdirs=("$HOME/.rbenv" "/usr/local/rbenv" "/opt/rbenv" "/usr/local/opt/rbenv")
if _homebrew-installed && _rbenv-from-homebrew-installed ; then
rbenvdirs=($(brew --prefix rbenv) "${rbenvdirs[@]}")
fi
Expand Down

0 comments on commit 80828cd

Please sign in to comment.