dotfiles/fish/.config/fish/functions/pb.fish

9 lines
187 B
Fish
Raw Normal View History

2018-08-11 05:38:12 +00:00
function pb
if count $argv > /dev/null
curl -F'file=@'$argv[1] https://0x0.tilde.team
else
curl -F'file=@-;filename=stdin.txt' https://0x0.tilde.team
end
2018-08-11 05:38:12 +00:00
end