restore window arrange should bring back last command used (profile option)
By nicolas.ad... on August 04, 2014 14:45 (imported from Google Code)
It would be great if restore windows could add back to the shell history or just live it at the shell prompt the last used command (for example ssh to specific hosts, vim/editor for particular files). It's not always practicable to have 1 profile per host sshed to or set of files edited. Maybe commands should be white/black listed.
It's probably safer to not automatically re-execute the command (but may be a good option if white-listed).
Basically closing/restart iterm2 should be the same as closing/restarting chrome, the entire context should be restored as it is.