Skip to content

Instantly share code, notes, and snippets.

@vs0uz4
Created August 1, 2017 13:42
Show Gist options
  • Save vs0uz4/2d06a7c2af4578a81e1bbb3139a9951a to your computer and use it in GitHub Desktop.
Save vs0uz4/2d06a7c2af4578a81e1bbb3139a9951a 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