diff options
author | Vitaly Ovchinnikov <v@postbox.nz> | 2023-08-04 23:33:07 +0300 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-08-05 00:04:35 +0200 |
commit | 1144611a1626d8f5d7ffe02d76ea58a97a67aff4 (patch) | |
tree | 70fea6988636554d801569c11d779da34e2aa67e /CHANGELOG.md | |
parent | c801f1582cf6d5d3e367c5e2931381559746cccf (diff) | |
download | aerc-1144611a1626d8f5d7ffe02d76ea58a97a67aff4.tar.gz |
attach: add an option to pipe the attachments in
Add the -r option to :attach so that the attachments can be piped in
from a command. Example:
:attach -r image.jpg read-jpeg-from-clipboard.sh
It takes two parameters: the attachment name (to be used in the email
and to get the MIME type from) and the command to execute and read the
output.
Signed-off-by: Vitaly Ovchinnikov <v@postbox.nz>
Acked-by: Robin Jarry <robin@jarry.cc>
Reviewed-by: Koni Marti <koni.marti@gmail.com>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c7c3764..8e84982e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). in `aerc.conf` or with the `-e` flag for all compose related commands (e.g. `:compose`, `:forward`, `:recall`, etc.). - Remove headers from the compose window with `:header -d <name>`. +- Add option `-r` to `:attach` to pipe the attachments in. ### Fixed |