Commits

Doug Hellmann  committed 39e55b2

Skiping re-initialization in subshells breaks tab completion, so go ahead and take the performance hit. Closes #121

  • Participants
  • Parent commits 96c1416

Comments (0)

Files changed (1)

File virtualenvwrapper.sh

 
 # Set up virtualenvwrapper properly
 function virtualenvwrapper_initialize {
-    if [ ! -z "$VIRTUALENVWRAPPER_INITIALIZED" ]
-    then
-        return 0
-    fi
     export WORKON_HOME="$(virtualenvwrapper_derive_workon_home)"
 
     virtualenvwrapper_verify_workon_home -q || return 1
 
     virtualenvwrapper_setup_tab_completion
 
-    export VIRTUALENVWRAPPER_INITIALIZED=1
-
     return 0
 }