aboutsummaryrefslogtreecommitdiffhomepage
path: root/mutt/mailcap
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-12-18 11:11:13 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-12-18 11:11:14 +0800
commit5f269f6119a311129466211ba27e48956c16ef2d (patch)
treea9880d26fe02271a903e7a747f7d9d158210daf0 /mutt/mailcap
parent4a3f809568b581085b959b5d6cc21d0601e69422 (diff)
mutt: mailcap
Diffstat (limited to 'mutt/mailcap')
-rw-r--r--mutt/mailcap3
1 files changed, 2 insertions, 1 deletions
diff --git a/mutt/mailcap b/mutt/mailcap
index 2899a40..1a44cfa 100644
--- a/mutt/mailcap
+++ b/mutt/mailcap
@@ -1,5 +1,6 @@
1text/plain; vim '%s'
2text/html; firefox '%s'; test=test -n "$DISPLAY"; needsterminal;
1text/html; w3m -I %{charset} -T text/html; copiousoutput; 3text/html; w3m -I %{charset} -T text/html; copiousoutput;
2text/plain; surf '%s'; test=test -n "$DISPLAY"; needsterminal;
3application/json; jq . %s | less -N; copiousoutput; 4application/json; jq . %s | less -N; copiousoutput;
4application/pdf; firefox '%s'; test=test -n "$DISPLAY"; needsterminal; 5application/pdf; firefox '%s'; test=test -n "$DISPLAY"; needsterminal;
5application/octet-stream; firefox '%s'; test=test -n "$DISPLAY"; needsterminal; 6application/octet-stream; firefox '%s'; test=test -n "$DISPLAY"; needsterminal;