Alias tweaks

This commit is contained in:
2013-07-07 17:30:11 -04:00
parent cf3eea13fb
commit 16f867a2bb
6 changed files with 173 additions and 184 deletions

View File

@@ -1,3 +1,11 @@
function activate_virtualenv() {
if [ -f env/bin/activate ]; then . env/bin/activate;
elif [ -f ../env/bin/activate ]; then . ../env/bin/activate;
elif [ -f ../../env/bin/activate ]; then . ../../env/bin/activate;
elif [ -f ../../../env/bin/activate ]; then . ../../../env/bin/activate;
fi
}
function git-new-remote-tracking {
git checkout -b $1 && git push -u origin $1
}