Commit 90a5bd06 authored by Lorenzo Bolla's avatar Lorenzo Bolla Committed by Marc Cornellà
Browse files

Prefer virtualenvwrapper_lazy (#6842)

This gives much faster start up times and only loads virtualenvwrapper
when needed.

Fix #6839
parent 5896c871
virtualenvwrapper='virtualenvwrapper.sh'
virtualenvwrapper_lazy='virtualenvwrapper_lazy.sh'
if (( $+commands[$virtualenvwrapper] )); then
if (( $+commands[$virtualenvwrapper_lazy] )); then
function {
setopt local_options
unsetopt equals
virtualenvwrapper=${${virtualenvwrapper_lazy}:c}
source ${${virtualenvwrapper_lazy}:c}
}
elif (( $+commands[$virtualenvwrapper] )); then
function {
setopt local_options
unsetopt equals
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment