Home » Questions » Computers [ Ask a new question ]

OSX window groups

OSX window groups

I have a window group saved with 3 terminals set up how I like them and I have a shortcut to that opens this window group on my desktop. Now I want to add a startup command (possibly different commands for each window) when each terminal is opened, but I do not want to set a default command for every terminal i start like i know you can. What would be the easiest way to do this?

Asked by: Guest | Views: 188
Total answers/comments: 2
Guest [Entry]

"So you already have a separate setting for each terminal? You need to edit each of those settings to specify the command to run.

In ""Terminal > Preferences > Settings"", edit the setting for each terminal, specifying the command for each with ""Shell > Startup > Run command"".

When open a terminal from these setting (either individually or as part of a Window Group), it will run the command that you specified in the Settings' startup commands. You can open Window Groups from the ""Window > Open Window Group"", or configure one to start automatically in ""Preferences > Startup""."
Guest [Entry]

@Matt G's answer is good, but an alternative would be to use the open-source iTerm, which has a Bookmarks feature that makes this much easier than having to set up a different terminal profile for each. Since I started using it instead of Terminal.app I haven't looked back. Worth checking out...