First thing I tried was saving sessions in Ghostty: https://ghostty.org/docs/config/reference#window-save-state But notice:

This is currently only supported on macOS. This has no effect on Linux.

I’m on Linux.


Google results turned me to Reddit: https://www.reddit.com/r/Ghostty/comments/1hup2n7/restore_session_when_ghostty_is_relaunched/

Which talked about: https://github.com/joshmedeski/sesh

Aside: I’d like to use zoxide: https://github.com/ajeetdsouza/zoxide?tab=readme-ov-file


I don’t have a solution yet.