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