X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.mailcap;h=462200b594ca794af975627e51382a9d50cc2de3;hb=2e9445458dc40f2b0e302d3d7e8db295ae7b7505;hp=a3e553f369edf60200cd4e984743fe5474f4dcee;hpb=830794806411b92860073d9b7eb761c18cf1fe4a;p=dotfiles.git diff --git a/.mailcap b/.mailcap index a3e553f..462200b 100644 --- a/.mailcap +++ b/.mailcap @@ -15,6 +15,9 @@ application/postscript; xpdf %s; description="Postscript files"; test=test -n "$ application/postscript; gv %s; description="Postscript files"; test=test -n "$DISPLAY" -a -n "`which gv 2>/dev/null`" application/postscript; ghostview %s; description="Postscript files"; test=test -n "$DISPLAY" -a -n "`which ghostview 2>/dev/null`" application/postscript; pstotext %s; copiousoutput; description="PostScript files"; test=test -n "`which pstotext 2>/dev/null`" +application/vnd.oasis.opendocument.text; odt2txt %s | less; edit=libreoffice %s; needsterminal; description="OpenDocument files"; test=test -n "`which odt2txt 2>/dev/null`" -a -n "`which less 2>/dev/null`" +application/vnd.oasis.opendocument.text; odt2txt %s | more; edit=libreoffice %s; needsterminal; description="OpenDocument files"; test=test -n "`which odt2txt 2>/dev/null`" +application/vnd.oasis.opendocument.text; odt2txt %s; copiousoutput; description="OpenDocument files"; test=test -n "`which odt2txt 2>/dev/null`" application/x-bittorrent; bittorrent.py %s; test=test -n "$DISPLAY" -a -n "`which bittorrent.py 2>/dev/null`" application/x-chm; fbreader %s; description="Compiled HTML files"; test=test -n "$DISPLAY" -a -n "`which fbreader 2>/dev/null`" application/x-dvi; xdvi %s; description="DVI files"; test=test -n "$DISPLAY" -a -n "`which xdvi 2>/dev/null`"