fix the warning from brew doctor
when using global python3
This commit is contained in:
parent
accdcb2f1c
commit
24be2f3dbc
@ -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…
Reference in New Issue
Block a user