Created
November 24, 2018 07:40
-
-
Save miguelmota/71ab27e1ec2c80759d8ea975b8ec855b to your computer and use it in GitHub Desktop.
Tmux fix reattach-to-user-namespace unsupported new OS error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Thanks!
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
Thanks!