Created
April 16, 2012 20:01
-
-
Save sambao21/2401117 to your computer and use it in GitHub Desktop.
virtualenvwrapper postmkvirtualenv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# This hook is run after a new virtualenv is activated. | |
echo "Do you want to install ipython & bpython?" | |
select yn in "Yes" "No"; do | |
case $yn in | |
Yes ) | |
pip install ipython bpython; | |
easy_install readline; | |
break;; | |
No ) | |
break;; | |
esac | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment