Permalink
Browse files

Update plugins/rbenv/rbenv.plugin.zsh

Fix rbenv plugin for OS X latest homebrew
  • Loading branch information...
1 parent 7bb42fb commit 80828cd0d3d415b49530c0f7e989f6d251427985 @ka8725 ka8725 committed with ncanceill Jan 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/rbenv/rbenv.plugin.zsh
View
2 plugins/rbenv/rbenv.plugin.zsh
@@ -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

0 comments on commit 80828cd

Please sign in to comment.