Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 8 down vote accepted

Enter the following in Terminal:

defaults write 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

share|improve this answer
Thanks! I had to use sudo to get this to work. – mohit6up May 31 '13 at 15:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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