mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 21:43:55 +08:00
7d1f45e25f
\cy copies, \cv pastes.
8 lines
162 B
Fish
8 lines
162 B
Fish
function fish_clipboard_paste
|
|
if type -q pbpaste
|
|
commandline -i (pbpaste)
|
|
else if type -q xsel
|
|
commandline -i (xsel --clipboard)
|
|
end
|
|
end
|