]> arthur.barton.de Git - ax-zsh.git/commitdiff
Add "pdfman" plugin
authorAlexander Barton <alex@barton.de>
Thu, 30 Jul 2015 12:41:00 +0000 (14:41 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 30 Jul 2015 12:41:00 +0000 (14:41 +0200)
PDFman is a script for OS X which renders manual pages as PDF and
shows them using Preview.app, for example.

plugins/pdfman/pdfman.zshrc [new file with mode: 0644]

diff --git a/plugins/pdfman/pdfman.zshrc b/plugins/pdfman/pdfman.zshrc
new file mode 100644 (file)
index 0000000..7f28ec7
--- /dev/null
@@ -0,0 +1,7 @@
+# AX-ZSH: Alex' Modular ZSH Configuration
+# pdfman.zshrc: Setup PDFman
+
+# Make sure that "pdfman" script is installed
+(( $+commands[pdfman] )) || return
+
+alias man='pdfman'