Just a simple bash script to activate the corresponding virtualenv when entering a directory
For this to work, you will need to be using virtualenvwrapper
- Paste the new
cd
function in your ~/.bashrc or ~/.zshrc file - Apply with source ~/.bashrc or source ~/.zshrc
- Done