summaryrefslogtreecommitdiffstats
path: root/mailcap
diff options
context:
space:
mode:
authorMatthew Lemon <chaffinach+git@protonmail.ch>2022-06-13 08:29:22 +0100
committerMatthew Lemon <chaffinach+git@protonmail.ch>2022-06-13 08:29:22 +0100
commit6e07af279e9dc40a7dc07cfdd2d9ec7a51efdff3 (patch)
tree51561a3f35148c70527ffa30c0cee8e8f308a3c5 /mailcap
parent340afab1dee2aa924cb495fbc65ca46d6ca12eda (diff)
updated mailcap to handle diffs
Diffstat (limited to 'mailcap')
-rw-r--r--mailcap3
1 files changed, 3 insertions, 0 deletions
diff --git a/mailcap b/mailcap
index 032b0a9..c1be0b3 100644
--- a/mailcap
+++ b/mailcap
@@ -53,6 +53,9 @@ video/*; mpv '%s' --autofit 640x480 --loop=inf; test=test -n "$DISPLAY"
# Don't have a solution for albums yet
image/x-imgur-album; echo
+# patches
+text/x-patch; vimdiff '%s'; needsterminal
+
# 256 color images using half-width unicode characters
# Much higher quality that img2txt, but must be built from source
# https://github.com/rossy/img2xterm