iTerm 2 is the best Terminal replacement for Mac OS X.
As somebody, spending most of his time on the console, I set up the Hotkey window so it opens fullscreen on my MacBook Air and fills half of the screen in my iMac. Obviously, I added iTerm 2 to the Login Items in Users & Groups to automatically launch it on startup.
One little thing always bothered me, though: On launch, iTerm 2 automatically opens a terminal window.
This means, whenever I reboot my MacBook Air, I end up having a console window open. Ticking the Hide checkbox in Login Items does not change anything.
Here is, how to prevent this behaviour. It’s not all that intuitive, so I thought sharing it might help others:
- Open iTerm 2.
- Close all console windows.
- Go to Window > Save Window Arrangement.
- Name the new arrangement. I named mine “No Windows”.
- Make sure to set it as the default in Preferences > Arrangements.
- Last but not least, in Preferences… > General under Startup make sure that “Open default window arrangement” is the only option checked.
That’s it. The next time iTerm 2 is launched on startup, no annoying window is opened.