How to restore my iterm2/zsh session after restart?

Solution 1:

There's a duplicate on Ask Different. tl;dr: install the latest iTerm2 beta 2.9+, and make sure your Mac is set to not close windows when quitting an app. The new version of iTerm2 restores windows and working directories automagically!