Commit a43cef34 authored by Oleg Smelov's avatar Oleg Smelov Committed by Marc Cornellà
Browse files

pyenv: detect pyenv from Homebrew faster (#7670)

parent 15f29aac
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
FOUND_PYENV=$+commands[pyenv] FOUND_PYENV=$+commands[pyenv]
if [[ $FOUND_PYENV -ne 1 ]]; then 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 for dir in $pyenvdirs; do
if [[ -d $dir/bin ]]; then if [[ -d $dir/bin ]]; then
export PATH="$PATH:$dir/bin" export PATH="$PATH:$dir/bin"
......
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