mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-19 05:12:47 +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
|