Browse Source

Use the lazy virtualenvwrapper

master
Sorin Ionescu 12 years ago
parent
commit
6e664690ef
  1. 4
      modules/python/init.zsh

4
modules/python/init.zsh

@ -23,10 +23,10 @@ else @@ -23,10 +23,10 @@ else
fi
# Load virtualenvwrapper into the shell session.
if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper.sh] )); then
if [[ -n "$WORKON_HOME" ]] && (( $+commands[virtualenvwrapper_lazy.sh] )); then
# Disable the virtualenv prompt.
VIRTUAL_ENV_DISABLE_PROMPT=1
source "$commands[virtualenvwrapper.sh]"
source "$commands[virtualenvwrapper_lazy.sh]"
fi
# Load pythonz into the shell session.

Loading…
Cancel
Save