about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-03-19 21:21:18 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-19 21:21:18 +0100
commitb2873fdc765e92aca4267e60c65a5da4897a04a0 (patch)
treef2d2a570a3cb27eafeaa0431604ea4b9d3a1a96a /res
parent87c918062d4666837b1afafa9094e0e5b7ba57d6 (diff)
downloadchawan-b2873fdc765e92aca4267e60c65a5da4897a04a0.tar.gz
main: set CHA_LIBEXEC_DIR env var at startup
This way, we can use it everywhere (e.g. in mailcap).
Diffstat (limited to 'res')
-rw-r--r--res/mailcap6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/mailcap b/res/mailcap
new file mode 100644
index 00000000..07ac93f7
--- /dev/null
+++ b/res/mailcap
@@ -0,0 +1,6 @@
+# default mailcap for Chawan
+
+text/gopher;	"$CHA_LIBEXEC_DIR"/gopher2html -u "$MAILCAP_URL"; x-htmloutput
+text/gemini;	"$CHA_LIBEXEC_DIR"/gmi2html; x-htmloutput
+text/markdown;	"$CHA_LIBEXEC_DIR"/md2html; x-htmloutput
+text/x-ansi;	"$CHA_LIBEXEC_DIR"/ansi2html; x-htmloutput