Created
November 16, 2011 18:52
-
-
Save davsket/1370963 to your computer and use it in GitHub Desktop.
ZSH Problem
This file contains 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
function vc() { | |
workon $@; | |
cdvirtualenv; | |
cd $@; | |
} | |
function vcr() { | |
vc $@; | |
python manage.py runserver; | |
} | |
function vcrr() { | |
ifconfig -L en1; | |
vc $@; | |
python manage.py runserver 0.0.0.0:8000; | |
} | |
function vcc() { | |
vc $@; | |
cd _res; | |
compass watch; | |
} | |
function superv (){ | |
vcr $@; | |
osascript -e 'tell application "System Events" to tell process "Terminal" to keystroke "t" using command down'; | |
osascript -e 'tell application "System Events" to tell process "Terminal" to keystroke "vcc"'; | |
osascript -e 'tell application "System Events" to tell process "Terminal" to keystroke "t" using command down'; | |
osascript -e 'tell application "System Events" to tell process "Terminal" to keystroke "vc"'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment