1
1
Fork 0

zshrc: Use wl-copy on Wayland

This commit is contained in:
Jonathan Schleifer 2021-03-21 10:14:56 +00:00
parent 681e3fd2d5
commit 12a46dc630

4
zshrc
View file

@ -353,7 +353,9 @@ fi
if __has_command cryptopassphrase; then
pwnk() {
local clipboard
if __has_command pbcopy; then
if __has_command wl-copy; then
clipboard=wl-copy
elif __has_command pbcopy; then
clipboard=pbcopy
elif __has_command xclip; then
clipboard=xclip