Skip to content

Commit

Permalink
use full xsel command flags instead of abbreviations
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlincoln committed Oct 7, 2020
1 parent 3f025a9 commit 682286f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/linux_clipboard.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ X11_write_clip <- function(content, object_type, breaks, eos, return_new, ...) {
if (has_xclip()) {
con <- pipe("xclip -i -sel p -f | xclip -i -sel c", "w")
} else if (has_xsel()) {
con <- pipe("xsel -b -i", "w")
con <- pipe("xsel --clipboard --input", "w")
} else {
notify_no_cb()
}
Expand Down

0 comments on commit 682286f

Please sign in to comment.