Terminal on Rails
Solomon White at OnRails has written a script like my goto project script only he's put quite a bit of effort into making his script control Leopards Terminal.app.
I gave up on that approach when it didn't seem to work properly and stuck with iTerm. I'm kind of glad to find that I wasn't just being a muppet -- Terminal is not especially script friendly right now. Maybe things will improve in 10.5.2 or perhaps in 10.6, or 10.7.
He's included quite a neat trick which is that he uses the project contents (e.g. the presence of 'app', 'lib', 'test', 'config' folders) to determine the project type which gets around the need for symlinking or passing a project type explicitly. I wish I'd thought of that. Oh well, what's sauce for the goose... we may borrow that one ;-)
I took a bit of time to have gp build an index of the project tree and searches use that. I'm interested that Solomon choose to go with a solution based on Ruby's Find#find. In my experience that was way too slow. Maybe my project tree is a lot bigger (438,000 files in 140,000 folders) but, if not, I'd be interested in #find performance for others.
I'm glad to see I'm not the only one who likes to refactor their work processes as well as their code!
