1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2026-02-06 00:53:23 +00:00

Remove special handling of Python paths on OSX. It's not needed anymore with newer homebrews

This commit is contained in:
Holger Just 2015-11-10 22:55:01 +01:00
parent 6214ab7e74
commit ab5d4a54b1

15
.bashrc
View File

@ -80,21 +80,6 @@ case `uname` in
alias ls='ls -G'
# 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"
done
fi
for p in /usr/local/*/bin /usr/*/bin; do
if [[ -n "$p" ]]; then
export PATH="$p:$PATH"
fi
done
unset p
export PG_DATA=/usr/local/var/postgres
gitx() { open -a GitX $@; }