aboutsummaryrefslogtreecommitdiffstats
path: root/config/bindings_test.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-10-13 00:03:42 +0200
committerRobin Jarry <robin@jarry.cc>2022-10-16 11:35:24 +0200
commitebfd2a9da3d63390a9d4a0c227b2513a0dac19a4 (patch)
treeedae511a998f7d3a0427649342294ecaf09f5454 /config/bindings_test.go
parent9bd2e0c84fef66007bcab027883c01414b99b77c (diff)
downloadaerc-ebfd2a9da3d63390a9d4a0c227b2513a0dac19a4.tar.gz
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>
Diffstat (limited to 'config/bindings_test.go')
0 files changed, 0 insertions, 0 deletions