diff --git a/dotfiles/z_profile b/dotfiles/z_profile index bd995cf..6c09edd 100644 --- a/dotfiles/z_profile +++ b/dotfiles/z_profile @@ -19,7 +19,10 @@ export EDITOR {%@@ if profile == 'VWAGWOY00349' @@%} [[ $(command -v /opt/homebrew/bin/brew) ]] && eval "$(/opt/homebrew/bin/brew shellenv)" {%@@ endif @@%} -[[ $(command -v pyenv) ]] && eval "$(pyenv init -)" + +[[ $(command -v pyenv) ]] && export PYENV_ROOT="$HOME/.pyenv" +[[ $(command -v pyenv) ]] && export PATH="$PYENV_ROOT/bin:$PATH" +[[ $(command -v pyenv) ]] && eval "$(pyenv init --path)" {%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' @@%} # Set DOTNET_ROOT enviroment variable