Initialize pyenv the proper way

This commit is contained in:
Philip Henning 2022-09-01 17:28:31 +02:00
parent c3ccad3fef
commit 89e17bc508

View file

@ -19,7 +19,10 @@ export EDITOR
{%@@ if profile == 'VWAGWOY00349' @@%} {%@@ if profile == 'VWAGWOY00349' @@%}
[[ $(command -v /opt/homebrew/bin/brew) ]] && eval "$(/opt/homebrew/bin/brew shellenv)" [[ $(command -v /opt/homebrew/bin/brew) ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
{%@@ endif @@%} {%@@ 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' @@%} {%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' @@%}
# Set DOTNET_ROOT enviroment variable # Set DOTNET_ROOT enviroment variable