Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions virtualenvwrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,11 @@ fi
# cd because we are trying to change the state of the current shell,
# so we use "builtin".
function virtualenvwrapper_cd {
if [ -n "${BASH:-}" ]
then
builtin \cd "$@"
elif [ -n "${ZSH_VERSION:-}" ]
if [ -n "${ZSH_VERSION:-}" ]
then
builtin \cd -q "$@"
else
builtin \cd "$@"
fi
}

Expand Down