Commit 80828cd0 authored by Andrey Koleshko's avatar Andrey Koleshko Committed by ncanceill
Browse files

Update plugins/rbenv/rbenv.plugin.zsh

Fix rbenv plugin for OS X latest homebrew
parent 7bb42fb4
...@@ -7,7 +7,7 @@ _rbenv-from-homebrew-installed() { ...@@ -7,7 +7,7 @@ _rbenv-from-homebrew-installed() {
} }
FOUND_RBENV=0 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 if _homebrew-installed && _rbenv-from-homebrew-installed ; then
rbenvdirs=($(brew --prefix rbenv) "${rbenvdirs[@]}") rbenvdirs=($(brew --prefix rbenv) "${rbenvdirs[@]}")
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment