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:
Sencer Selcuk 2014-07-30 22:45:53 -04:00 committed by Bruno Sutic
parent 26c3ede036
commit c4f7c78f41

View file

@ -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"