quentinsf
-
Posts
2 -
Joined
-
Last visited
-
Days Won
1
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by quentinsf
-
-
I've done a little workflow for iTerm 2 users.
iTerm is a great Terminal program which includes the concept of 'profiles' - a profile is a collection of terminal settings which can include things like background colour, initial command to be executed, etc. As an example, I can open a new iTerm window which will ssh into my production web server, got to the main web directory, and has a red background to warn me I can do dangerous things here.
This workflow uses a Python script to extract a list of your iTerm profiles, and a bit of Applescript to tell iTerm to start up the selected one.
It's my first use of a script filter, and I couldn't really find any documentation, so suggestions, corrections etc are most welcome!
You can find the workflow here:
http://qandr.org/quentin/software/alfred_itp
Quentin
iTerm 2 profiles workflow
in Share your Workflows
Posted
Many thanks, all, for the suggestions - I've now updated my version just to include six.py, which I hope should make it work out of the box for most people, and I've put comments in the Applescript for those who prefer tabs to windows!