Add support for pyenv

This commit is contained in:
Danielle McLean 2018-07-01 14:42:28 +10:00
parent ffa567b4d5
commit 1d321aa33c
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240

View file

@ -41,5 +41,10 @@ newbins+=($XDG_CONFIG_HOME/composer/vendor/bin)
# python
export -UT PYTHONPATH pythonpath
# pipenv already uses $XDG_DATA_HOME, but pyenv doesn't, so we need to
# configure it explicitly.
export PYENV_ROOT=$XDG_DATA_HOME/pyenv
export PYENV_SHELL=zsh
newbins+=($XDG_DATA_HOME/pyenv/shims)
path=($newbins $path)