Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
gylaz opened this Issue · 3 comments

4 participants

@gylaz
Owner

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

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
Owner

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
Owner

This was done in d830652

@croaky croaky closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.