Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have two old Macs, both have iTerm2 installed and could automatically restore window arrangement (tabs with different directories and colors) from last time after launch. I forget what configuration I've made for both.

Now I'm setting up a new Mac with iTerm2, but could never get "automatically restore window arrangement from last time" working there.

What I've tried:

  1. Compared with the working ones, check and set the preferences one by one;
  2. Cloned the working "~/Library/Preferences/com.googlecode.iterm2.plist";
  3. Preferences -> Profiles -> General -> Working Directory -> Reuse previous session's directory (but I think this impacts when you open a new tab, not for launch);
  4. Menu -> Window -> Save Window Arrangement -> and save it as default. But in this case, every time if I launch from start, iTerm always restore fixed window arrangement from the save. I don't want to save any pattern, I just want restore whatever I have from last time.

All the things I've tried could not make it work. Could anyone tell me what should I do please? Thanks a lot.

iTerm version: iTerm2-1_0_0_20140112

share|improve this question
    
One more hint: both of the working Macs, I haven't used any AppleScript, just checked some options in the preferences. –  Jing Li Mar 8 at 14:12

1 Answer 1

up vote 1 down vote accepted

Turn off prefs>general>open default window arrangement, and turn off system prefs>general>close windows when quitting an application.

share|improve this answer
    
Thanks @George, that solves the problem! So the trick is to turn off one option in System Preferences which is outside app config. –  Jing Li May 19 at 5:49

Your Answer

 
discard

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.