aboutsummaryrefslogtreecommitdiffstats
path: root/.mutt/mailcap
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2015-02-06 12:00:30 +0800
committerAaron LI <aaronly.me@outlook.com>2015-02-06 12:00:30 +0800
commitffb440066d953391036b6d842e9612680d21bc9b (patch)
tree015b7452b8e64b0f8f365c6881cb05cf0759c47c /.mutt/mailcap
parent4403a73e1de25b09691f8f30ea0d6ad784f85f8b (diff)
downloaddotfiles-ffb440066d953391036b6d842e9612680d21bc9b.tar.bz2
Added 'X-Label' tools & settings to mutt.
* mutt-xlabel.py: manipulate labels.
Diffstat (limited to '.mutt/mailcap')
-rw-r--r--.mutt/mailcap7
1 files changed, 5 insertions, 2 deletions
diff --git a/.mutt/mailcap b/.mutt/mailcap
index fd1db6d..d531285 100644
--- a/.mutt/mailcap
+++ b/.mutt/mailcap
@@ -45,6 +45,9 @@ application/msword; word2text %s; copiousoutput
application/vnd.msword; ~/.mutt/mutt_bgrun.sh libreoffice %s; \
test=sh -c 'test -n "${DISPLAY}"'
application/vnd.msword; word2text %s; copiousoutput
+application/vnd.openxmlformats-officedocument.wordprocessingml.document; \
+ ~/.mutt/mutt_bgrun.sh libreoffice %s; \
+ test=sh -c 'test -n "${DISPLAY}"'
#
application/excel; ~/.mutt/mutt_bgrun.sh libreoffice %s; \
test=sh -c 'test -n "${DISPLAY}"'
@@ -103,8 +106,8 @@ video/*; ~/.mutt/mutt_bgrun.sh vlc %s; \
# Show archive conents.
#
application/x-compressed-tar; tar -tf %s; copiousoutput
-application/x-gnuzip; gzcat; copiousoutput
-application/x-bzip; bunzip2 -c %s | tar -tf -; copiousoutput
+application/x-bzip-compressed-tar; \
+ bunzip2 -c %s | tar -tf -; copiousoutput
application/x-tar-gz; gunzip -c %s | tar -tf -; copiousoutput
application/x-7z-compressed; 7z l %s; copiousoutput