1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-16 20:02:47 +00:00
dotfiles/.config/fish/functions/clip.fish
2020-07-19 22:11:21 -04:00

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