diff options
author | bptato <nincsnevem662@gmail.com> | 2024-03-19 21:21:18 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-03-19 21:21:18 +0100 |
commit | b2873fdc765e92aca4267e60c65a5da4897a04a0 (patch) | |
tree | f2d2a570a3cb27eafeaa0431604ea4b9d3a1a96a /res | |
parent | 87c918062d4666837b1afafa9094e0e5b7ba57d6 (diff) | |
download | chawan-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/mailcap | 6 |
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 |