mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 18:39:26 +00:00
Compare commits
2 Commits
theme/sori
...
pull/598-s
Author | SHA1 | Date | |
---|---|---|---|
b2d84afacf | |||
7629171239 |
@ -34,10 +34,11 @@ if (( ! $+commands[python] && ! $+commands[pyenv] )); then
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Load virtualenvwrapper into the shell session.
|
||||
if (( $+commands[virtualenvwrapper.sh] )); then
|
||||
# Load virtualenvwrapper into the shell session, unless requested not to
|
||||
zstyle -t ':prezto:module:python' skip-virtualenvwrapper-init
|
||||
if (( $? && $+commands[virtualenvwrapper.sh] )); then
|
||||
# Set the directory where virtual environments are stored.
|
||||
export WORKON_HOME="$HOME/.virtualenvs"
|
||||
export WORKON_HOME="${WORKON_HOME:-$HOME/.virtualenvs}"
|
||||
|
||||
# Disable the virtualenv prompt.
|
||||
VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||
|
Reference in New Issue
Block a user