Browse Source

[Fix #669] Do not use lazy virtualenvwrapper

Lazy virtualenvwrapper completion crashes Zsh.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
master
Humberto Morales 10 years ago committed by Sorin Ionescu
parent
commit
fea08d4e50
  1. 4
      modules/python/init.zsh

4
modules/python/init.zsh

@ -35,14 +35,14 @@ if (( ! $+commands[python] && ! $+commands[pyenv] )); then
fi fi
# Load virtualenvwrapper into the shell session. # Load virtualenvwrapper into the shell session.
if (( $+commands[virtualenvwrapper_lazy.sh] )); then if (( $+commands[virtualenvwrapper.sh] )); then
# Set the directory where virtual environments are stored. # Set the directory where virtual environments are stored.
export WORKON_HOME="$HOME/.virtualenvs" export WORKON_HOME="$HOME/.virtualenvs"
# Disable the virtualenv prompt. # Disable the virtualenv prompt.
VIRTUAL_ENV_DISABLE_PROMPT=1 VIRTUAL_ENV_DISABLE_PROMPT=1
source "$commands[virtualenvwrapper_lazy.sh]" source "$commands[virtualenvwrapper.sh]"
fi fi
# #

Loading…
Cancel
Save