]> git.phdru.name Git - dotfiles.git/commitdiff
.mailcap: edit msword files with libreoffice
authorOleg Broytman <phd@phdru.name>
Wed, 12 Nov 2014 12:26:40 +0000 (15:26 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 12 Nov 2014 12:26:40 +0000 (15:26 +0300)
.mailcap

index 462200b594ca794af975627e51382a9d50cc2de3..aa3f968214c75d11107acd288c080b387b71541e 100644 (file)
--- 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`"