fix: remove `misc' folder and put the aliases in README.md

+ fix typo.
This commit is contained in:
Tom MTT. 2022-11-30 13:42:12 +01:00
parent fdd0d73e77
commit b146e1a300
4 changed files with 5 additions and 16 deletions

View file

@ -112,7 +112,7 @@ Put those into your `~/.{ba,z,k}shrc`:
```sh
alias pst="nc heimdall.pm 9999"
alias spst="gpg -cao tmp.pgp && cat tmp.pgp | nc heimdall.pm 9999 && rm tmp.pgp"
alias spst="gpg -cao /tmp/paste.pgp && cat /tmp/paste.pgp | nc heimdall.pm 9999 && rm /tmp/paste.pgp"
```
Now, you can use **feuille** like this:
@ -127,10 +127,6 @@ $ echo da sup3r sekr1t | spst
https://bin.heimdall.pm/qrst
```
For a complete list of aliases, see
[here](https://basedwa.re/tmtt/feuille/src/branch/main/misc/aliases)
and either put those in your `~/.{ba,z,k}shrc` or source it.
That sould be it. Have fun!
## Description
@ -149,11 +145,9 @@ That sould be it. Have fun!
* Uses OS-specific security measures (like OpenBSD's `pledge`)
* Plenty of auxiliary files (see
[misc/](https://basedwa.re/tmtt/feuille/src/branch/main/misc),
[cgi/](https://basedwa.re/tmtt/feuille/src/branch/main/cgi) and
[cron/](https://basedwa.re/tmtt/feuille/src/branch/main/cron))
[cgi/](https://basedwa.re/tmtt/feuille/src/branch/main/cgi),
[cron/](https://basedwa.re/tmtt/feuille/src/branch/main/cron) and
[service/](https://basedwa.re/tmtt/feuille/src/branch/main/service))
* A list of aliases for your users' `~/.{ba,z,k}shrc`
* A CGI script that lets the user send pastes directly from your
website
* A sample HTML form for your CGI script

View file

@ -1,5 +1,5 @@
# feuille version
VERSION = 1.19.4
VERSION = 1.19.5
# paths (customize them to fit your system)
PREFIX = /usr/local

View file

@ -14,7 +14,7 @@
. ftr VB CB
. ftr VBI CBI
.\}
.TH "feuille" "1" "November 2022" "feuille 1.19.4" ""
.TH "feuille" "1" "November 2022" "feuille 1.19.5" ""
.hy
.SH NAME
.PP

View file

@ -1,5 +0,0 @@
NC="nc"
BIN="heimdall.pm"
alias pst="$NC $BIN 9999"
alias spst="gpg -cao /tmp/paste.pgp && cat /tmp/paste.pgp | $NC $BIN 9999 && rm /tmp/paste.pgp"