diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2022-10-28 20:26:49 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2022-10-28 20:26:49 +0800 |
commit | 14eba4708b51d4aeda98f40fa158f4688cb4ff8f (patch) | |
tree | 54215b76dbc7667b9fd3b630be894e6dff1b9d76 | |
parent | 54b82e204ba9f25b24fa866808626c4700c5d4c9 (diff) |
Parse JSON in mailcap
-rw-r--r-- | mutt/mailcap | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mutt/mailcap b/mutt/mailcap index 04fb49f..e7e7ff3 100644 --- a/mutt/mailcap +++ b/mutt/mailcap | |||
@@ -1,6 +1,7 @@ | |||
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/pdf; firefox '%s' | 5 | application/pdf; firefox '%s' |
5 | application/zip; unzip -p '%s' | less -N | 6 | application/zip; unzip -p '%s' | less -N |
6 | image/png; feh '%s' | 7 | image/png; feh '%s' |