From b146e1a3000652ded31c60f654b20156278ef5d1 Mon Sep 17 00:00:00 2001 From: Tom MTT Date: Wed, 30 Nov 2022 13:42:12 +0100 Subject: [PATCH] fix: remove `misc' folder and put the aliases in README.md + fix typo. --- README.md | 12 +++--------- config.mk | 2 +- feuille.1 | 2 +- misc/aliases | 5 ----- 4 files changed, 5 insertions(+), 16 deletions(-) delete mode 100644 misc/aliases diff --git a/README.md b/README.md index c010adc..d3bb0fa 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/config.mk b/config.mk index 29863f1..62d505f 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # feuille version -VERSION = 1.19.4 +VERSION = 1.19.5 # paths (customize them to fit your system) PREFIX = /usr/local diff --git a/feuille.1 b/feuille.1 index a2eb8f9..ed874a1 100644 --- a/feuille.1 +++ b/feuille.1 @@ -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 diff --git a/misc/aliases b/misc/aliases deleted file mode 100644 index eddcdcf..0000000 --- a/misc/aliases +++ /dev/null @@ -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"