aboutsummaryrefslogtreecommitdiffhomepage
path: root/mutt
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2022-10-05 08:34:57 +0800
committerHsieh Chin Fan <pham@topo.tw>2022-10-05 08:34:57 +0800
commit85e6a2c980b7f2d6ec2b59256fedf12404c2811a (patch)
tree9d0bcbb58115500a8fcf6c4551c2781be824579d /mutt
parent38675e92d2bb1f9ff00c969d446738f8e0eb803c (diff)
Improve mailcap
Diffstat (limited to 'mutt')
-rw-r--r--mutt/mailcap2
1 files changed, 2 insertions, 0 deletions
diff --git a/mutt/mailcap b/mutt/mailcap
index 3872386..8726770 100644
--- a/mutt/mailcap
+++ b/mutt/mailcap
@@ -1,7 +1,9 @@
1text/html; firefox '%s' &; test=test -n "$DISPLAY"; needsterminal; 1text/html; firefox '%s' &; test=test -n "$DISPLAY"; needsterminal;
2text/html; w3m -I %{charset} -T text/html; copiousoutput; 2text/html; w3m -I %{charset} -T text/html; copiousoutput;
3text/plain; less %s; copiousoutput;
3application/pdf; firefox '%s' 4application/pdf; firefox '%s'
4application/zip; unzip -p '%s' | less 5application/zip; unzip -p '%s' | less
5image/png; feh '%s' 6image/png; feh '%s'
6image/jpg; feh '%s' 7image/jpg; feh '%s'
7image/jpeg; feh '%s' 8image/jpeg; feh '%s'
9image/gif; feh '%s'