Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Created November 24, 2018 07:40
Show Gist options
  • Save miguelmota/71ab27e1ec2c80759d8ea975b8ec855b to your computer and use it in GitHub Desktop.
Save miguelmota/71ab27e1ec2c80759d8ea975b8ec855b to your computer and use it in GitHub Desktop.
Tmux fix reattach-to-user-namespace unsupported new OS error
# how to fix the error:
# warning: reattach-to-user-namespace: unsupported new OS, trying as if it were "10.10" Mojave
# replace
bind-key -T copy-mode-vi 'y' send -X copy-pipe "reattach-to-user-namespace pbcopy"
# with
bind-key -T copy-mode 'y' send -X copy-pipe-and-cancel "pbcopy"
# in tmux.conf
# https://github.com/tmux-plugins/tmux-sensible/issues/42
@lhermann
Copy link

Thanks!

@spiritphyz
Copy link

Thanks!

@rogeriochaves
Copy link

For me what worked was this:

bind-key -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel "pbcopy"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment