How can I stop OS X Lion from reopening multiple terminal windows when I relaunch Terminal.app? When I launch terminal, two windows spawn.

link|improve this question

55% accept rate
feedback

1 Answer

up vote 2 down vote accepted

Enter the following in Terminal:

defaults write com.apple.Terminal NSQuitAlwaysKeepsWindows -bool false

This disables Lion's resume feature for Terminal only.


If you want to disable resuming application "document" windows globally, go to System Preferences » General » Restore windows when quitting and re-opening apps:

enter image description here

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.