1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2025-10-17 19:41:01 +00:00

Use pyenv init --path to initialize pyenv, see https://github.com/pyenv/pyenv/issues/1906

This commit is contained in:
Holger Just 2022-08-01 12:21:10 +02:00
parent 40b0d923f0
commit 947fc54b37

View File

@ -161,7 +161,10 @@ export PYENV_ROOT="$HOME/.pyenv"
if ! command -v pyenv 1>/dev/null 2>&1 && [[ -d "$PYENV_ROOT/bin" ]]; then
export PATH="$PYENV_ROOT/bin:$PATH"
fi
command -v pyenv 1>/dev/null 2>&1 && eval "$(pyenv init -)"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
eval "$(pyenv init --path)"
fi
# Appliction config
export PLANIO_SKIP_AMA=1