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 /config/aerc.conf | |
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 'config/aerc.conf')
-rw-r--r-- | config/aerc.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/aerc.conf b/config/aerc.conf index bd8b08d8..02ea96fe 100644 --- a/config/aerc.conf +++ b/config/aerc.conf @@ -495,9 +495,13 @@ message/rfc822=colorize # encountered in the command, the temporary filename will be appened to the end # of the command. # +# 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. +# # Examples: # x-scheme-handler/irc=hexchat -# x-scheme-handler/http=firefox +# x-scheme-handler/http*=firefox # text/html=surf -dfgms # text/plain=gvim {} +125 # message/rfc822=thunderbird |