Skip to content

Commit a2231d8

Browse files
Allow cdvirtualenv to take an argument which is a directory under the
virtualenv root to change into.
1 parent 9d595e3 commit a2231d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtualenvwrapper_bashrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,5 +281,5 @@ function cdsitepackages () {
281281

282282
function cdvirtualenv () {
283283
virtualenvwrapper_verify_active_environment || return 1
284-
cd $VIRTUAL_ENV
284+
cd $VIRTUAL_ENV/$1
285285
}

0 commit comments

Comments
 (0)