tmux-plugins / tmux-continuum

Continuous saving of tmux environment. Automatic restore when tmux is started. Automatic tmux start when computer is turned on.
MIT License
3.29k stars 149 forks source link

Does continuum with with iTerm2 and it's native tmux integration and `-CC` mode #40

Open bradical opened 7 years ago

bradical commented 7 years ago

This is more of a question than an issue but does anyone know if continuum works with iTerm2's tmux integration? Basically, if I don't see the continuum status on the bottom right when I open tmux windows with tmux -CC does that mean continuum is not working? Or is it just that the status stuff doesn't work with iTerm2's native tmux stuff?

Is there any way to check that on the filesystem or in processes that continuum is running assuming I can't see the status?

bruno- commented 7 years ago

Hey, this plugin is just an extension/addition to https://github.com/tmux-plugins/tmux-resurrect which does all the hard work of saving and restoring tmux sessions.

I suggest trying tmux-resurrect and manual saving and restoring first. I'm not sure if it will work.. unfortunately there's a good chance it wont.

bradical commented 7 years ago

Resurrect is working well. It's the auto booting and auto saving of continuum that appears not be. On Fri, Oct 6, 2017 at 05:59 Bruno Sutic notifications@github.com wrote:

Hey, this plugin is just an extension/addition to https://github.com/tmux-plugins/tmux-resurrect which does all the hard work of saving and restoring tmux sessions.

I suggest trying tmux-resurrect and manual saving and restoring first. I'm not sure if it will work.. unfortunately there's a good chance it wont.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tmux-plugins/tmux-continuum/issues/40#issuecomment-334712601, or mute the thread https://github.com/notifications/unsubscribe-auth/AALqnLawGOd9EWnzyLcorO3w_h4DYgLpks5spfoRgaJpZM4PvTOm .

bruno- commented 7 years ago

Ok. I'd be open to merging a PR for adding support for iterm2 -CC mode. Last time I tried CC in iterm2 it seemed very limited, so I'm not even sure if it's possible.

Viqsi commented 6 years ago

In case it helps, I've gotten it working in a hacky fashion by adding a call to continuum-save.sh to my PROMPT_COMMAND in bash. Not sure if tmux plugins can automate something like that or not, tho (or even if that's the most desirable approach).

paulhdk commented 1 year ago

For others reading who might be running into this issue, going to iTerm settings -> profiles -> <your_profile> -> session -> enable status bar made continuum auto-save and restore for me! Booting iTerm automatically on mac with contiuum's scripts still doesn't work for me though. See also #118.