1
0
Fork 0

Add checks for homebrew python on OS X.

pull/216/head
Paul Miller 13 years ago
parent bede1a2a71
commit 7703ade5d8

@ -11,6 +11,16 @@
if [[ "$OSTYPE" == darwin* ]]; then
path=($HOME/Library/Python/*/bin(N) $path)
manpath=($HOME/Library/Python/*/{,share/}man(N) $manpath)
_brew_py="/usr/local/share/python"
_brew_py3="/usr/local/share/python3"
if [[ -s "$_brew_py" ]]; then
path=("$_brew_py" $path)
fi
if [[ -s "$_brew_py3" ]]; then
path=("$_brew_py3" $path)
fi
else
# This is subject to change.
path=($HOME/.local/bin $path)

Loading…
Cancel
Save