fix the warning from brew doctor when using global python3

This commit is contained in:
tan.que 2017-10-24 01:51:09 +08:00
parent accdcb2f1c
commit 24be2f3dbc

View File

@ -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"