tmux-plugins / tmux-yank

Tmux plugin for copying to system clipboard. Works on OSX, Linux and Cygwin.
https://tmux-plugins.github.io/tmux-yank/
MIT License
2.72k stars 122 forks source link

Remove error message when on remote servers with no $DISPLAY #162

Closed eggbean closed 2 years ago

eggbean commented 2 years ago

On remote servers without $DISPLAY there is no way to use xclip/xsel, so this disable the error messages.

EDIT: Just noticed that there is another unaccepted PR that does this, but this works with the current state of the code.