aerc/config
Robin Jarry ebfd2a9da3 filters: export mime type and filename in env
Export AERC_MIME_TYPE and AERC_FILENAME in the filters command
environment. This allows dynamic coloring with tools that require
a filename and/or a mime type to determine the syntax.

Update docs and add example use in the default config file.

Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
2022-10-16 11:35:24 +02:00
..
accounts.conf Copy sent emails to the Sent folder 2019-05-15 19:41:21 -04:00
aerc.conf filters: export mime type and filename in env 2022-10-16 11:35:24 +02:00
bindings.go bindings: add alt modifier 2022-09-13 22:50:16 +02:00
bindings_test.go bindings: support more modified keys 2021-10-28 16:22:28 +02:00
binds.conf switch: add -n and -p flags for relative switch 2022-09-20 20:55:29 +02:00
config.go filters: append well known dirs to exec PATH 2022-10-16 11:35:20 +02:00
default_styleset fix aerc-stylesets(7) typos 2020-12-13 10:30:56 +01:00
style.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
triggers.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00