A universal clipboard command for Bash

I frequently use pbcopy in the shell to get output to the OS X clipboard. I’m constantly using [command] | pbcopy, and figured it would be worth making a little easier, so I wrote this little function this morning.


This is a companion discussion topic for the original entry at https://brettterpstra.com/2015/04/27/a-universal-clipboard-command-for-bash