Browse Source

pyenv: detect pyenv from Homebrew faster (#7670)

Oleg Smelov 5 years ago
parent
commit
a43cef3404
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/pyenv/pyenv.plugin.zsh

+ 1 - 1
plugins/pyenv/pyenv.plugin.zsh

@@ -4,7 +4,7 @@
 FOUND_PYENV=$+commands[pyenv]
 
 if [[ $FOUND_PYENV -ne 1 ]]; then
-    pyenvdirs=("$HOME/.pyenv" "/usr/local/pyenv" "/opt/pyenv")
+    pyenvdirs=("$HOME/.pyenv" "/usr/local/pyenv" "/opt/pyenv" "/usr/local/opt/pyenv")
     for dir in $pyenvdirs; do
         if [[ -d $dir/bin ]]; then
             export PATH="$PATH:$dir/bin"