mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
7d1f45e25f
\cy copies, \cv pastes.
7 lines
153 B
Fish
7 lines
153 B
Fish
function fish_clipboard_copy
|
|
if type -q pbcopy
|
|
commandline | pbcopy
|
|
else if type -q xsel
|
|
commandline | xsel --clipboard
|
|
end
|
|
end
|