Add support for pyenv
This commit is contained in:
parent
ffa567b4d5
commit
1d321aa33c
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue