Apply remain-on-exit tmux option only to windows created by overmind #135
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello 👋 thank you for creating overmind, I really appreciate this tool 🥇
I'm an avid tmux user and I usually run overmind as a daemon. I start my web server and stuff, run
overmind connect
and do all my work right there in that tmux session where I can have everything in one place thanks to overmind 🙂However, I noticed the
remain-on-exit
tmux option being set globally usingsetw -g
and it's making all the windows I open inherit this setting. Looks like it's possible to makeremain-on-exit
only apply to windows that overmind created with this simple change I made. I imagine this would save the trouble of dealing withPane is dead
messages for someone looking at some logs withovermind connect
and quickly wanting to do something in the same tmux session 😁The
-p
flag restricts this setting to the pane, so it'll make it possible to even do some work in a split pane in the same windows as process run by overmind.Thanks again and let me know if you'd be open to this change 😊