I use QuickSilver to launch OSX's terminal app and terminals for ssh'ing to outside servers. The "profiles" are saved as .term files in ~/, eg "term.term",server1.term, etc. This works well but it piles up copies in my Settings window: term 1, term 2, term 3 etc. as if I'm not clearing out something when I exit and creating a "duplicate" each time I subsequently launch. Can someone explain this and offer a solution?
When you open one, Terminal looks to see if it contains settings that correspond to an existing settings profile; if it isn't identical to an existing one, it imports the settings stored in the
Occasionally, the format for profiles changes in newer versions of Terminal. In that case, Terminal updates profiles stored in preferences to the latest format, but if you created
If you want to bookmark an ssh session, for example, you can just drag an ssh URL (of the form
Another approach is to use Window Groups to save commands coupled with particular window layouts and settings. The simplest way to do this is to create ssh sessions (for example) with the Shell > New Remote Connection command, or Shell > New Command. When you do this, Terminal remembers the ssh command used to create the window. Then layout the windows as you like, change the settings profiles using the Inspector if you wish, and save all the current windows with Window > Save Windows as Group. In the save dialog, select “Restore all commands” to ensure that all the commands† are run the next time you open the window group.
Of course, you can also create window groups that only contain one window each, if you want to only open one connection at a time.
Each time you open a window group, it will recreate all the windows that were saved, and issue commands that were remembered. You can open a window group more than once—each time it creates another set of windows.
† By default, Terminal will only restore a few commands it considers “safe”, including shells and top, for example. Selecting the checkbox tells it that you want it to restore all recorded commands...so be careful.