zshrc: Use wl-copy on Wayland
This commit is contained in:
parent
681e3fd2d5
commit
12a46dc630
1 changed files with 3 additions and 1 deletions
4
zshrc
4
zshrc
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue