1. Doug Hellmann
  2. virtualenvwrapper

Commits

wam@talyn.cisco.com  committed a2231d8

Allow cdvirtualenv to take an argument which is a directory under the
virtualenv root to change into.

  • Participants
  • Parent commits 9d595e3
  • Branches master

Comments (0)

Files changed (1)

File virtualenvwrapper_bashrc

View file
  • Ignore whitespace
 
 function cdvirtualenv () {
     virtualenvwrapper_verify_active_environment || return 1
-    cd $VIRTUAL_ENV
+    cd $VIRTUAL_ENV/$1
 }