Add ~/Library/Python bins to path when they exist
This commit is contained in:
parent
09033f007a
commit
0c569f6907
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ newbins+=($XDG_CONFIG_HOME/composer/vendor/bin)
|
||||||
|
|
||||||
# python
|
# python
|
||||||
export -UT PYTHONPATH pythonpath
|
export -UT PYTHONPATH pythonpath
|
||||||
|
newbins+=(~/Library/Python/*/bin(N))
|
||||||
# pipenv already uses $XDG_DATA_HOME, but pyenv doesn't, so we need to
|
# pipenv already uses $XDG_DATA_HOME, but pyenv doesn't, so we need to
|
||||||
# configure it explicitly.
|
# configure it explicitly.
|
||||||
export PYENV_ROOT=$XDG_DATA_HOME/pyenv
|
export PYENV_ROOT=$XDG_DATA_HOME/pyenv
|
||||||
|
|
Loading…
Reference in a new issue