Skip to content

Commit

Permalink
Restore overridden cd command to its default builtin behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Jun 23, 2015
1 parent ded9460 commit 80470b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .virtualenv/postdeactivate
@@ -1,3 +1,8 @@
#!/bin/bash
# This hook is run after every virtualenv is deactivated.

# Restore overridden cd command to its default builtin behaviour.
# Source: http://virtualenvwrapper.readthedocs.org/en/latest/tips.html#changing-the-default-behavior-of-cd
cd () {
builtin cd "$@"
}

1 comment on commit 80470b4

@kdeldycke
Copy link
Owner Author

@kdeldycke kdeldycke commented on 80470b4 Jun 23, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.