Skip to content

Commit c0fa506

Browse files
committed
look for the workdir script and run it if we find it
--HG-- extra : convert_revision : svn%3A98f53aa3-d424-0410-b225-a548b0275c4d/Projects/virtualenvwrapper/trunk%401353
1 parent 39578ff commit c0fa506

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

virtualenvwrapper_bashrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,9 @@ function workon () {
8787
return 1
8888
fi
8989
source "$activate"
90+
if [ -f "$WORKON_HOME/$env_name/bin/workdir" ]
91+
then
92+
source "$WORKON_HOME/$env_name/bin/workdir"
93+
fi
9094
return 0
9195
}

0 commit comments

Comments
 (0)