mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Add pyenv default path when installed by hombrew.
Hombrew use `/usr/local/opt/` as a `prefix`. So pyenv directory should be `/usr/local/opt/pyenv`
This commit is contained in:
parent
62b0abdb6e
commit
9dae3d1564
1 changed files with 1 additions and 1 deletions
|
|
@ -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" "/usr/local/opt/pyenv" "/opt/pyenv")
|
||||
if _homebrew-installed && _pyenv-from-homebrew-installed ; then
|
||||
pyenvdirs=($(brew --prefix pyenv) "${pyenvdirs[@]}")
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue