add support for pyenv-virtualenv
This commit is contained in:
parent
d43bcb9720
commit
d15edd0577
1 changed files with 8 additions and 0 deletions
|
@ -45,6 +45,14 @@ if (( $+commands[virtualenvwrapper.sh] )); then
|
|||
source "$commands[virtualenvwrapper.sh]"
|
||||
fi
|
||||
|
||||
# Load pyenv-virtualenv into the shell session.
|
||||
if (( $+commands[pyenv-virtualenv-init] )); then
|
||||
# Disable the virtualenv prompt.
|
||||
VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||
|
||||
eval "$(pyenv virtualenv-init -)";
|
||||
fi
|
||||
|
||||
#
|
||||
# Aliases
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue