diff options
author | Robin Jarry <robin@jarry.cc> | 2023-03-12 11:33:06 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-03-13 23:35:52 +0100 |
commit | c15c91e609c242feeaeb23984cec8a9f64607061 (patch) | |
tree | 53c0d4800e639bae828b692873abd2e871f64c2e /doc | |
parent | 49f58adda429c54225d79d13bfad7a054ae29db2 (diff) | |
download | aerc-c15c91e609c242feeaeb23984cec8a9f64607061.tar.gz |
openers: support basic shell globbing
Allow wild cards for MIME types like in filters.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/aerc-config.5.scd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index 290a1381..faa79cad 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -812,12 +812,16 @@ _{}_ is expanded as the temporary filename or URL to be opened. If it is not encountered in the command, the filename/URL will be appened to the end of the command. Environment variables are also expanded. Tilde is not expanded. +Like *[filters]*, openers support basic shell globbing. The first opener which +matches the part's MIME type (or URL scheme handler MIME type) will be used, so +order them from most to least specific. + Example: ``` [openers] x-scheme-handler/irc=hexchat -x-scheme-handler/https=firefox +x-scheme-handler/http\*=firefox text/html=surf -dfgms text/plain=gvim {} +125 message/rfc822=thunderbird |