Skip to content

Instantly share code, notes, and snippets.

@aarnone
Created May 14, 2018 21:06
Show Gist options
  • Star 24 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save aarnone/83ce3b053ace037ada850d13133317f2 to your computer and use it in GitHub Desktop.
Save aarnone/83ce3b053ace037ada850d13133317f2 to your computer and use it in GitHub Desktop.
Get pbcopy and pbpaste in Arch Linux

Get pbcopy and pbpaste in Arch Linux

First you need the 'xsel' package.

$> pacman -S xsel

Then create aliases.

alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
@woodenfurniture
Copy link

thanks

@ImSeenOne
Copy link

I guess it is pamac install xsel and not pacman install xsel (at least that you have the binaries in .tar.gz)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment