From e9d25bb997663c41db1a3749949658300b04e1ee Mon Sep 17 00:00:00 2001 From: Eric Faden Date: Tue, 30 Jan 2018 10:34:26 -0500 Subject: [PATCH] Adding "/usr/local/opt/pyenv" to list of search directories. Brew uses that folder and without it `brew --prefix pyenv` is used, which is much slower. --- plugins/pyenv/pyenv.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pyenv/pyenv.plugin.zsh b/plugins/pyenv/pyenv.plugin.zsh index ec3ae9f5b..2f0ba4684 100644 --- a/plugins/pyenv/pyenv.plugin.zsh +++ b/plugins/pyenv/pyenv.plugin.zsh @@ -7,7 +7,7 @@ _pyenv-from-homebrew-installed() { } FOUND_PYENV=0 -pyenvdirs=("$HOME/.pyenv" "/usr/local/pyenv" "/opt/pyenv") +pyenvdirs=("$HOME/.pyenv" "/usr/local/pyenv" "/opt/pyenv" "/usr/local/opt/pyenv") for pyenvdir in "${pyenvdirs[@]}" ; do if [ -d $pyenvdir/bin -a $FOUND_PYENV -eq 0 ] ; then