summaryrefslogtreecommitdiff
path: root/plugins/rbenv
diff options
context:
space:
mode:
authorAndrey Koleshko <ka8725@gmail.com>2013-01-14 12:46:01 +0300
committerncanceill <nicolas.canceill@ens-cachan.org>2014-05-28 11:19:47 +0200
commit80828cd0d3d415b49530c0f7e989f6d251427985 (patch)
tree048c753aa4de0f45d3476799adcf45c5f2f9db2a /plugins/rbenv
parent7bb42fb49a0dcbd0774a0e6efafe766fdfc82268 (diff)
downloadzsh-80828cd0d3d415b49530c0f7e989f6d251427985.tar.gz
zsh-80828cd0d3d415b49530c0f7e989f6d251427985.tar.bz2
zsh-80828cd0d3d415b49530c0f7e989f6d251427985.zip
Update plugins/rbenv/rbenv.plugin.zsh
Fix rbenv plugin for OS X latest homebrew
Diffstat (limited to 'plugins/rbenv')
-rw-r--r--plugins/rbenv/rbenv.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/rbenv/rbenv.plugin.zsh b/plugins/rbenv/rbenv.plugin.zsh
index b6795b91c..213e1beb0 100644
--- a/plugins/rbenv/rbenv.plugin.zsh
+++ b/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