Bash script for hst.sh
Go to file
Hazel 3e2da3b20e
Merge pull request #1 from PrincessRavy/it-has-been-two-years
It has been two years
2022-10-20 02:35:12 +02:00
LICENSE update license year 2022-10-20 02:25:11 +02:00
README.md adjust tone of the readme, move credit upwards 2022-10-20 02:32:10 +02:00
hst.sh Update hst.sh 2020-02-24 18:07:45 +01:00
install.sh installing binaries globally is not good 2022-10-20 02:28:53 +02:00

README.md

hst.sh

This contains the hst.sh script, adapted from diethnis' hastebin standalone sh script.

Install

curl -sfL get.hst.sh | bash

You need curl to install and use hst.

The binary will be saved to ~/.local/bin/hst - make sure it's in your $PATH.

Usage

See hst -h.

Some examples:

echo $PWD | hst

hst /etc/nginx/sites-enabled/ravy.org

Why

Using hastebin shouldn't be a hassle.

This just makes it a one-liner and doesn't require anything apart from bash and curl.