Created
February 15, 2011 01:09
-
-
Save zhengjia/826913 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
osascript <<END | |
activate application "Terminal" | |
tell application "Terminal" | |
do script "memcached -vv" in window 1 | |
end tell | |
tell application "System Events" | |
tell process "Terminal" | |
keystroke "t" using command down | |
end tell | |
end tell | |
delay 1 | |
tell application "Terminal" | |
do script "cd ngin;rails s --debugger;" in the last tab of window 1 | |
end tell | |
tell application "System Events" | |
tell process "Terminal" | |
keystroke "t" using command down | |
end tell | |
end tell | |
delay 1 | |
tell application "Terminal" | |
do script "cd ngin;rails c" in the last tab of window 1 | |
end tell | |
tell application "System Events" | |
tell process "Terminal" | |
keystroke "t" using command down | |
end tell | |
end tell | |
delay 1 | |
tell application "Terminal" | |
do script "cd ngin;mate ." in the last tab of window 1 | |
end tell | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment