Skip to content

Apply remain-on-exit tmux option only to windows created by overmind #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jerryskye
Copy link

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 using setw -g and it's making all the windows I open inherit this setting. Looks like it's possible to make remain-on-exit only apply to windows that overmind created with this simple change I made. I imagine this would save the trouble of dealing with Pane is dead messages for someone looking at some logs with overmind 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 😊

@dlight
Copy link

dlight commented Feb 15, 2025

Hello, is there anything blocking merging this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants