After a recent upgrade of iTerm2 (I'm on build, when I open up iTerm2, it restores all of the terminal windows I had open. How do I disable this behavior so it doesn't "remember" how many windows I had open?

1 Answer 1


This is the resume feature introduced with Lion.

defaults write com.googlecode.iterm2 NSQuitAlwaysKeepsWindows -bool false
  • 1
    Or (assuming it's Lion, and not an iTerm feature), remember to hold down the Alt/Option key whenever you Quit, which will work in any application.
    – calum_b
    Feb 27, 2012 at 14:51
  • @scottishwildcat Yeah, thanks for pointing that out. It doesn't work with any application though. E.g. Chrome's setting in it's preferences overrides the shortcut.
    – gentmatt
    Feb 27, 2012 at 15:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .