-
-
Save jbalogh/536998 to your computer and use it in GitHub Desktop.
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/bash | |
# Sets ~site_packages and tries to `cd ~/dev/<virtualenv`. | |
site_packages=$(virtualenvwrapper_get_site_packages_dir) | |
PROJECT=`basename $VIRTUAL_ENV` | |
DIR="$HOME/dev/$PROJECT" | |
if [ -d $DIR ]; then | |
cd $DIR | |
fi | |
unset DIR |
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/sh | |
# Automatically installs IPython in every virtualenv. | |
# Make sure you `chmod +x`. | |
$1/bin/pip install -i 'http://people.mozilla.org/~jbalogh/pypi' ipython |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kodi