Skip to content

mymindishazel/hst.sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%