aboutsummaryrefslogtreecommitdiff
path: root/mutt/mailcap
diff options
context:
space:
mode:
Diffstat (limited to 'mutt/mailcap')
-rw-r--r--mutt/mailcap11
1 files changed, 11 insertions, 0 deletions
diff --git a/mutt/mailcap b/mutt/mailcap
new file mode 100644
index 00000000..3ce21d24
--- /dev/null
+++ b/mutt/mailcap
@@ -0,0 +1,11 @@
+# Simple mailcap for a terminal-only Mutt; I generally download everything
+# anyway and deal with it on a shell, or pass it to a GUI machine.
+#
+text/html; lynx -dump -force_html %s; \
+ copiousoutput; \
+ description=HTML; \
+ nametemplate=%s.html
+application/pdf; pdftotext -layout -nopgbrk -q %s -; \
+ copiousoutput; \
+ description=PDF; \
+ nametemplate=%s.pdf