Ditch Apple's mediocre state restoration and do it myself
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.0.4
- OS version: OS X 10.11.6
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window) com.googlecode.iterm2.plist
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Are you reporting a performance issue or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
Detailed steps to reproduce the problem:
- Create multiple sessions inside a single iTerm window using "Split Pane Vertically" or "Split Pane Horizontally"
- Give different commands to different sessions
- Restart the system
What happened: The history of commands is the same for all the sessions opened inside the window. The history of each session is not preserved.
What should have happened: The history of each session should be preserved.