Skip to content

Instantly share code, notes, and snippets.

@mnem
mnem / alias_pbcopy_pbpaste.sh
Created December 7, 2011 16:35
pbcopy and pbpaste for linux
# Emulate pbcopy and pbpaste for copying to and from the pasteboard/clipboard
#
# via: http://whereswalden.com/2009/10/23/pbcopy-and-pbpaste-for-linux/
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'