diff --git a/home/.bash_env b/home/.bash_env index 5c693cf..3bd21d4 100644 --- a/home/.bash_env +++ b/home/.bash_env @@ -36,13 +36,11 @@ if [[ "$OSTYPE" == "darwin"* ]]; then fi # Python - if [ -d /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin ]; then - export PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH - fi - - if [ -d /opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin ]; then - export PATH=/opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin:$PATH - fi + for VER in 3.7 2.7; do + if [ -d /opt/local/Library/Frameworks/Python.framework/Versions/$VER/bin ]; then + export PATH=/opt/local/Library/Frameworks/Python.framework/Versions/$VER/bin:$PATH + fi + done fi if [ -r ~/.gpg-agent-info ]; then