Hacker News new | ask | show | jobs
by RotsiserMho 3597 days ago
I think the latest version of iTerm2 (3+) supports this actually.
1 comments

Kinda. I just tried it on 3.0.7.

For example, in tab #1, I cd and run a bash script to start a web server process. In tab #2, I split it into two panes, and in #1 run workon to start a virtual environment then start the Python REPL. In pane #2, I run top.

After quitting and restarting, tab #1 returns to the proper directory but with no output. Pane #1 shows previous output and returns the proper directory but without the virtual environment activated. Pane #2 does the same. History seems to be merged across the three which is a bit confusing as well.