mirror of
https://github.com/Phantop/dotfiles
synced 2024-09-30 14:10:15 +00:00
9 lines
199 B
Fish
9 lines
199 B
Fish
|
# Defined in /tmp/fish.VJPA2j/clip.fish @ line 1
|
||
|
function clip
|
||
|
if test $argv
|
||
|
echo $argv | xclip -i -selection clipboard
|
||
|
else
|
||
|
cat - | xclip -i -selection clipboard
|
||
|
end
|
||
|
end
|