aboutsummaryrefslogtreecommitdiffstats
path: root/config/aerc.conf
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-03-12 11:33:06 +0100
committerRobin Jarry <robin@jarry.cc>2023-03-13 23:35:52 +0100
commitc15c91e609c242feeaeb23984cec8a9f64607061 (patch)
tree53c0d4800e639bae828b692873abd2e871f64c2e /config/aerc.conf
parent49f58adda429c54225d79d13bfad7a054ae29db2 (diff)
downloadaerc-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.conf6
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