]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Autoview .man and .pod
authorSergey Matveev <stargrave@stargrave.org>
Fri, 29 Jul 2022 10:31:30 +0000 (13:31 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 29 Jul 2022 13:23:09 +0000 (16:23 +0300)
lynx/.mailcap
mutt/.mime.types

index b4ba8c264679eb9da73b2e73a0f71bc653dd0233..3ca3d72577858f687bf0712869a286aaa105cd30 100644 (file)
@@ -1,6 +1,7 @@
 application/epub+zip; zat '%s'; test=test -n "$DISPLAY"
 application/pdf; zat '%s'; test=test -n "$DISPLAY"
 application/vnd.gnupg.wks; gpg-wks-client -v --read --send; needsterminal; description=WKS message
+application/x-perl; pod2text --color '%s' | less; needsterminal
 image/jpeg; sxiv '%s'; test=test -n "$DISPLAY"
 image/jxl; sxiv '%s'; test=test -n "$DISPLAY"
 image/png; sxiv '%s'; test=test -n "$DISPLAY"
@@ -17,3 +18,4 @@ image/x-xpixmap; sxiv '%s'; test=test -n "$DISPLAY"
 text/html; lynx -noreferer -partial -assume_charset=%{charset} -dump %s; copiousoutput; nametemplate=%s.html
 text/info; info '%s'; needsterminal
 text/plain; less '%s'; needsterminal
+text/x-man; man '%s'; needsterminal
index 2a907e1b3fe3dbd20b690117140f4b61b6cf7e80..89ac94feaef684a5d2eb91388a0cfe9dd3f95582 100644 (file)
@@ -2,6 +2,7 @@ application/epub+zip epub
 application/gzip gz
 application/metalink4+xml meta4
 application/pdf pdf
+application/x-perl pod
 application/zstd zst
 image/jpeg jpeg jpg
 image/jxl jxl
@@ -17,3 +18,4 @@ image/x-portable-pixmap ppm
 image/x-xpixmap xpm
 text/info info
 text/plain txt
+text/x-man man