fix: pyenv venv init

This commit is contained in:
Andrejus Kostarevas
2021-06-28 15:31:52 +01:00
parent 27c3473936
commit 0bc1d3d96c
3 changed files with 10 additions and 2 deletions

View File

@@ -14,4 +14,6 @@ if status is-interactive
replay "source $HOME/.profile"
end
pyenv init - | source
end

View File

@@ -47,8 +47,8 @@ export PATH="$YARN_DIR/bin:$PATH"
# pyenv
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
if [ -d "$PYENV_ROOT" ]; then
[ -x `command -v pyenv` ] && eval "$(pyenv init --path)"
if [ -x `command -v pyenv` ]; then
eval "$(pyenv init --path)"
fi
# poetry