mirror of
https://github.com/tmux-plugins/tmux-yank.git
synced 2026-09-10 07:36:17 -04:00
specify clipboard explicitly for xclip
otherwise it doesn't work. (didn't test if this works in systems other than my own machine which is Ubuntu)
This commit is contained in:
parent
26c3ede036
commit
c4f7c78f41
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
clipboard_copy_command() {
|
||||
if command_exists "xclip"; then
|
||||
echo "xclip"
|
||||
echo "xclip -selection c"
|
||||
# reattach-to-user-namespace is required for OS X
|
||||
elif command_exists "pbcopy" && command_exists "reattach-to-user-namespace"; then
|
||||
echo "reattach-to-user-namespace pbcopy"
|
||||
|
|
|
|||
Loading…
Reference in a new issue