Re:Show HN: pbcopy/pbpaste across machines via Gitlab Snippets
by pubg on Sunday November 22, 2020 @01:26PM
(#25179660)
It's rather straightforward to create .bashrc aliases on Linux to transform xclip or xsel into pbcopy and pbpaste [0]:
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'
[0] https://superuser.com/a/288333/72342
Luckily I added a link to where I got it, because I had long forgotten. Thanks Nathan! Nathan's blog post is excellent and should be read: https://madebynathan.com/2011/10/04/a-nicer-way-to-use-xclip...