mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-06 18:21:39 +08:00
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
|