Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save douglarek/7096b84dadcac0b9df6c3cfdb317e68c to your computer and use it in GitHub Desktop.
Save douglarek/7096b84dadcac0b9df6c3cfdb317e68c 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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment