From: Oleg Broytman Date: Wed, 12 Nov 2014 12:26:40 +0000 (+0300) Subject: .mailcap: edit msword files with libreoffice X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=0e3cff932de082e478dfbcc6277251fe7021902d;hp=2e9445458dc40f2b0e302d3d7e8db295ae7b7505;p=dotfiles.git .mailcap: edit msword files with libreoffice --- diff --git a/.mailcap b/.mailcap index 462200b..aa3f968 100644 --- a/.mailcap +++ b/.mailcap @@ -29,7 +29,7 @@ application/msword; doc2html_web %s; description="M$ Word Text"; test=test -n "` application/msword; doc2html1 %s; copiousoutput; description="M$ Word Text"; test=test -n "`which wvHtml 2>/dev/null`" -a -n "`which elinks 2>/dev/null`" application/msword; doc2html2 %s; copiousoutput; description="M$ Word Text"; test=test -n "`which wvHtml 2>/dev/null`" -a -n "`which links2 2>/dev/null`" application/msword; catdoc %s; copiousoutput; description="M$ Word Text"; test=test -n "`which catdoc 2>/dev/null`" -application/msword; wordview %s; description="M$ Word Text"; test=test -n "$DISPLAY" -a -n "`which wordview 2>/dev/null`" +application/msword; wordview %s; edit=libreoffice %s; description="M$ Word Text"; test=test -n "$DISPLAY" -a -n "`which wordview 2>/dev/null`" application/vnd.ms-excel; xls2csv %s; copiousoutput; description="M$ Excel files"; test=test -n "`which xls2csv 2>/dev/null`" application/vnd.openxmlformats-officedocument.wordprocessingml.document; docx2txt %s -; copiousoutput; description="M$ Word OOXML Text"; test=test -n "`which docx2txt 2>/dev/null`"