From 658ddc8abad1b64eeed2670b8534dc9855400992 Mon Sep 17 00:00:00 2001 From: Koni Marti Date: Fri, 14 Jun 2024 23:06:57 +0200 Subject: pipe: add -d flag to decrypt message Add -d flag to the pipe command to decrypt a message before it is piped. Implements: https://todo.sr.ht/~rjarry/aerc/238 Signed-off-by: Koni Marti Tested-by: Jens Grassel Reviewed-by: Tim Culverhouse Acked-by: Robin Jarry --- doc/aerc.1.scd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index 30840158..7d6da4b9 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -400,7 +400,7 @@ message list, the message in the message viewer, etc). *:patch* __ Patch management sub-commands. See *aerc-patch*(7) for more details. -*:pipe* [*-bmp*] __ +*:pipe* [*-bdmps*] __ Downloads and pipes the selected message into the given shell command (executed with _sh -c ""_), and opens a new terminal tab to show the result. By default, the selected message part is used in the message @@ -411,12 +411,14 @@ message list, the message in the message viewer, etc). *-b*: Run the command in the background instead of opening a terminal tab - *-s*: Silently close the terminal tab after the command is completed + *-d*: Pipe the (full) message but decrypt it first. *-m*: Pipe the full message *-p*: Pipe just the selected message part, if applicable + *-s*: Silently close the terminal tab after the command is completed + This can be used to apply patch series with git: *:pipe -m* _git am -3_ -- cgit