# ci = clipboard in, co = clipboard out
# xclip so this works in gui apps too
alias ci="xclip -selection clipboard"
alias co="xclip -selection clipboard -o"
Those commands aren't exactly the same. These copy what you have selected. You can use xclip just like pbcopy/pbpaste though. Xclip has a few more features and you can get it on mac via brew and nix iirc.