Skip to content
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

Tmux exits immediately caused by reattach-to-user-namespace #75

Closed
gylaz opened this issue Nov 15, 2012 · 3 comments
Closed

Tmux exits immediately caused by reattach-to-user-namespace #75

gylaz opened this issue Nov 15, 2012 · 3 comments

Comments

@gylaz
Copy link
Contributor

gylaz commented Nov 15, 2012

Tmux will exit right away if reattach-to-user-namespace isn't installed. Seems like we probably shouldn't have it in our dotfiles if not everyone is going to install it

Source: http://superuser.com/questions/397076/tmux-exits-with-exited-on-mac-os-x

@joshuaclayton
Copy link
Contributor

Can we hook into this somehow to detect whether it's installed and recommend the user install it before exiting? Tmux is still usable without it but not running it is going to be more confusing when tools like open, launchctl, and other binaries don't work properly.

@derekprior
Copy link
Contributor

Would a function for reattach-to-user-namespace that:

  • exits doing nothing if uname != 'Darwin'
  • exits with error (will this stop tmux?) and informative message if reattach-to-user-namespace isn't present
  • runs reattach-to-user-namespace

... do the trick?

@croaky
Copy link
Contributor

croaky commented Nov 28, 2013

This was done in d830652

@croaky croaky closed this as completed Nov 28, 2013
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

No branches or pull requests

4 participants