From 1d321aa33cdd49dd6766d6cfc6ba047497626e21 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Sun, 1 Jul 2018 14:42:28 +1000 Subject: [PATCH] Add support for pyenv --- config/zsh/login/langs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/zsh/login/langs b/config/zsh/login/langs index cfa4964..a36d024 100644 --- a/config/zsh/login/langs +++ b/config/zsh/login/langs @@ -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)