Prevent pyenv from hijacking virtualenvs
This commit is contained in:
parent
95f3caa851
commit
0a1ab9455e
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ fi
|
||||||
export PATH="$HOME/.local/bin:$HOME/.bin:$PATH"
|
export PATH="$HOME/.local/bin:$HOME/.bin:$PATH"
|
||||||
export TERM=xterm-256color
|
export TERM=xterm-256color
|
||||||
|
|
||||||
if [ -d "$HOME/.pyenv" ]
|
if [ -d "$HOME/.pyenv" ] && [ -z ${PYENV_SHELL+x} ]
|
||||||
then
|
then
|
||||||
export PATH="$HOME/.pyenv/bin:$PATH"
|
export PATH="$HOME/.pyenv/bin:$PATH"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
|
|
Loading…
Reference in a new issue