alfred_itp - iTerm 2 for Alfred 2
One of the features of iTerm 2 is the concept of ‘Profiles’. A profile can save a particular terminal configuration, including things like background colours, but most importantly, including an initial command to be run when the terminal is started. You can have a profile called ‘Production’, for example, which sets the background colour to bright red and does an ssh into your production webserver, and changes to your most commonly-used directory.
This workflow plugin shows your current list of iTerm 2 profiles in
Alfred, and lets you select one.
If you’d prefer it to open a new tab instead of a new window, see the comments in the Applescript.
Note that you’ll need the paid (powerpack) version of Alfred to use this.
Updated 2013-05-17 - it now includes six.py, in case you don’t have that installed.
(Thanks to Andrew Wooster for the python ‘biplist’ module, on which this depends, and for the recommendations of various people on the Alfred forum.)
iTerm Profiles.zip 41.92 KB