浏览代码

Update plugins/rbenv/rbenv.plugin.zsh

Fix rbenv plugin for OS X latest homebrew
Andrey Koleshko 12 年之前
父节点
当前提交
80828cd0d3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/rbenv/rbenv.plugin.zsh

+ 1 - 1
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