Changing directories activates and deactivates virtualenvs (credits to @tarcisioe)