.bashrc: Enable pyenv-virtualenv
Needs to be cloned into pyenv's plugins folder, see: https://github.com/yyuu/pyenv-virtualenv Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
baaf94e155
commit
a664895145
5
.bashrc
5
.bashrc
@ -48,6 +48,11 @@ if [[ -d ~/.pyenv ]]; then
|
|||||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
|
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
|
# optionally enable pyenv-virtualenv
|
||||||
|
# See: https://github.com/yyuu/pyenv-virtualenv
|
||||||
|
if [[ -d ~/.pyenv/plugins/pyenv-virtualenv ]]; then
|
||||||
|
eval "$(pyenv virtualenv-init -)"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If a private bin directory exists, add it to PATH
|
# If a private bin directory exists, add it to PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user