aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2022-11-13 12:53:48 +0800
committerHsieh Chin Fan <pham@topo.tw>2022-11-13 12:53:48 +0800
commit22c5bcec5c0229945fb6d5b095b5fd88eabb295b (patch)
tree727d2e32dda627fb2fb799a72b0496ae1f362216
parent335d9499bd715595b64d3b71bb08865fc1299dc0 (diff)
Update
-rw-r--r--mutt/mailcap23
1 files changed, 12 insertions, 11 deletions
diff --git a/mutt/mailcap b/mutt/mailcap
index 121267e..23c13e2 100644
--- a/mutt/mailcap
+++ b/mutt/mailcap
@@ -1,11 +1,12 @@
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 -N %s; copiousoutput; 3text/plain; less -N %s; copiousoutput;
4application/json; jq . %s | less -N; copiousoutput; 4application/json; jq . %s | less -N; copiousoutput;
5application/pdf; firefox '%s' 5application/pdf; firefox '%s'; test=test -n "$DISPLAY"; needsterminal;
6application/zip; unzip -p '%s' | less -N 6application/octet-stream; firefox '%s'; test=test -n "$DISPLAY"; needsterminal;
7application/gzip; gunzip -c '%s' | less -N 7application/zip; unzip -p '%s' | less -N
8image/png; feh '%s' 8application/gzip; gunzip -c '%s' | less -N
9image/jpg; feh '%s' 9image/png; feh '%s'
10image/jpeg; feh '%s' 10image/jpg; feh '%s'
11image/gif; feh '%s' 11image/jpeg; feh '%s'
12image/gif; feh '%s'