mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
fix the warning from brew doctor when using global python3
This commit is contained in:
parent
accdcb2f1c
commit
24be2f3dbc
1 changed files with 2 additions and 0 deletions
|
|
@ -33,3 +33,5 @@ unset pyenvdir
|
||||||
if [ $FOUND_PYENV -eq 0 ] ; then
|
if [ $FOUND_PYENV -eq 0 ] ; then
|
||||||
function pyenv_prompt_info() { echo "system: $(python -V 2>&1 | cut -f 2 -d ' ')" }
|
function pyenv_prompt_info() { echo "system: $(python -V 2>&1 | cut -f 2 -d ' ')" }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
alias brew="env PATH=${PATH//$(pyenv root)\/shims:/} brew"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue