Skip to content

Commit f0f0077

Browse files
committed
use virtualenvwrapper_cd in project plugin
Change-Id: If75e95fb7b29207496906a166dd7bd5bd97549b5
1 parent 2fa2643 commit f0f0077

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

virtualenvwrapper/project.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,6 @@ def post_activate_source(args):
5858
# Change to the project directory
5959
#
6060
[ -f "$VIRTUAL_ENV/$VIRTUALENVWRAPPER_PROJECT_FILENAME" ] && \
61-
cd "$(cat \"$VIRTUAL_ENV/$VIRTUALENVWRAPPER_PROJECT_FILENAME\")"
61+
virtualenvwrapper_cd \
62+
"$(cat \"$VIRTUAL_ENV/$VIRTUALENVWRAPPER_PROJECT_FILENAME\")"
6263
"""

0 commit comments

Comments
 (0)