diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2022-11-13 12:53:48 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2022-11-13 12:53:48 +0800 |
commit | 22c5bcec5c0229945fb6d5b095b5fd88eabb295b (patch) | |
tree | 727d2e32dda627fb2fb799a72b0496ae1f362216 | |
parent | 335d9499bd715595b64d3b71bb08865fc1299dc0 (diff) |
Update
-rw-r--r-- | mutt/mailcap | 23 |
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 @@ | |||
1 | text/html; firefox '%s'; test=test -n "$DISPLAY"; needsterminal; | 1 | text/html; firefox '%s'; test=test -n "$DISPLAY"; needsterminal; |
2 | text/html; w3m -I %{charset} -T text/html; copiousoutput; | 2 | text/html; w3m -I %{charset} -T text/html; copiousoutput; |
3 | text/plain; less -N %s; copiousoutput; | 3 | text/plain; less -N %s; copiousoutput; |
4 | application/json; jq . %s | less -N; copiousoutput; | 4 | application/json; jq . %s | less -N; copiousoutput; |
5 | application/pdf; firefox '%s' | 5 | application/pdf; firefox '%s'; test=test -n "$DISPLAY"; needsterminal; |
6 | application/zip; unzip -p '%s' | less -N | 6 | application/octet-stream; firefox '%s'; test=test -n "$DISPLAY"; needsterminal; |
7 | application/gzip; gunzip -c '%s' | less -N | 7 | application/zip; unzip -p '%s' | less -N |
8 | image/png; feh '%s' | 8 | application/gzip; gunzip -c '%s' | less -N |
9 | image/jpg; feh '%s' | 9 | image/png; feh '%s' |
10 | image/jpeg; feh '%s' | 10 | image/jpg; feh '%s' |
11 | image/gif; feh '%s' | 11 | image/jpeg; feh '%s' |
12 | image/gif; feh '%s' | ||