aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2012-05-28 09:31:27 -0400
committerRyan Kavanagh <rak@debian.org>2012-05-28 09:31:51 -0400
commit466bd34e44679455831143d66a9dbd9c1094ad68 (patch)
tree4cb426147f088890f9a21ec0a9a100c8904cb6d6
parentComment maintainer_name in sbuildrc for when sponsoring packages (diff)
Use evince as a default PDF viewer
Diffstat (limited to '')
-rw-r--r--.mailcap4
-rw-r--r--.zshrc1
2 files changed, 5 insertions, 0 deletions
diff --git a/.mailcap b/.mailcap
index 0135463..a8b171f 100644
--- a/.mailcap
+++ b/.mailcap
@@ -1,2 +1,6 @@
text/html; w3m %s; nametemplate=%s.html
text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput
+application/pdf; evince '%s'; nametemplate=%s.pdf; test=test "$DISPLAY" != ""; description=Portable Document Format
+application/x-pdf; evince '%s'; nametemplate=%s.pdf; test=test "$DISPLAY" != ""; description=Portable Document Format
+application/x-gzpdf; evince '%s'; nametemplate=%s.pdf.gz; test=test "$DISPLAY" != ""; description=Portable Document Format
+application/x-bzpdf; evince '%s'; nametemplate=%s.pdf.bz2; test=test "$DISPLAY" != ""; description=Portable Document Format
diff --git a/.zshrc b/.zshrc
index eb472c3..3b1aef7 100644
--- a/.zshrc
+++ b/.zshrc
@@ -59,6 +59,7 @@ export MANOPT="-L en"
export BTS_SENDMAIL_COMMAND="/usr/bin/msmtp"
export PYTHONSTARTUP=~/.pythonrc.py
export PAGER=less
+export PDFVIEWER=evince
export TEXMFHOME=/home/ryan/.texmf
export LESSCHARSET=utf-8 # Needed for cyrillic &c in less