Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 378 Bytes

File metadata and controls

20 lines (19 loc) · 378 Bytes

Hastebin shell function

Forked from https://github.com/diethnis/standalones

How to use

with file

$ cat file.log | haste
# or
$ haste file.log

with direct input

$ haste
blahblahblah
(Ctrl+D)

changes

changed to https to work

Install

I added this "hastebin.sh" to my /etc/profile.d/. Must restart shell to see the changes.