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 ```sh
alias pst="nc heimdall.pm 9999" 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: Now, you can use **feuille** like this:
@ -127,10 +127,6 @@ $ echo da sup3r sekr1t | spst
https://bin.heimdall.pm/qrst 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! That sould be it. Have fun!
## Description ## Description
@ -149,11 +145,9 @@ That sould be it. Have fun!
* Uses OS-specific security measures (like OpenBSD's `pledge`) * Uses OS-specific security measures (like OpenBSD's `pledge`)
* Plenty of auxiliary files (see * 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),
[cgi/](https://basedwa.re/tmtt/feuille/src/branch/main/cgi) and [cron/](https://basedwa.re/tmtt/feuille/src/branch/main/cron) and
[cron/](https://basedwa.re/tmtt/feuille/src/branch/main/cron))
[service/](https://basedwa.re/tmtt/feuille/src/branch/main/service)) [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 * A CGI script that lets the user send pastes directly from your
website website
* A sample HTML form for your CGI script * A sample HTML form for your CGI script

View file

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

View file

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