Automatic invocation of multiple OS X terminal windows

March 20, 2007 Pivotal Labs

As the righteous wave of Intel iMacs surges into the Pivotal Labs offices, more Pivots are finding themselves working with multiple OS X Terminal windows. The opening and positioning of terminal windows often follows the same pattern: cd into project directory, run mongrel, open next window, cd into project directory, tail the test log, etc.. To avoid violating DRY, I’ve hacked up some simple ruby scripts that automate the process. See my original post for details and links to the scripts.

Now it’s just a matter of running one command:

$ terminals.rb myproject

This opens up all of the standard windows from the project in their specified positions and running the right processes.

About the Author

Biography

More Content by Pivotal Labs
Previous
The best thing I’ve heard all day
The best thing I’ve heard all day

"This is either the stupidest or best idea I've ever heard"

Next
Reintroducing… Pivotal Labs
Reintroducing… Pivotal Labs

Here we are again... again. Pivotal Labs has reinvented itself a few times over the years. But with each ch...

Enter curious. Exit smarter.

Register Now