diff --git a/.bashrc b/.bashrc index b25e75e..11cd174 100644 --- a/.bashrc +++ b/.bashrc @@ -101,13 +101,14 @@ case `uname` in # Find correct python bin path with multiple Pythons installed by Homebrew if [[ "$(which python)" =~ ^/usr/local/bin ]]; then # Python comes from Homebrew + export PATH="/usr/local/share/python:$PATH" for p in $(ls -1d /usr/local/Cellar/python/*/bin | sort -r); do - export PATH=$p:$PATH + export PATH="$p:$PATH" done fi for p in /usr/local/*/bin /usr/*/bin; do if [[ -n "$p" ]]; then - export PATH=$p:$PATH + export PATH="$p:$PATH" fi done unset p