dotfiles/.bashrc.d/alias.clipboard

3 lines
188 B
Plaintext
Raw Permalink Normal View History

2023-04-27 14:42:08 +01:00
[[ -x /usr/bin/copyq ]] && function pbpaste() { /usr/bin/copyq clipboard; } && export -f pbpaste
[[ -x /usr/bin/copyq ]] && function pbcopy() { /usr/bin/copyq add -; } && export -f pbcopy