Add manpage pdf function

This commit is contained in:
Jan Jastrow 2023-02-02 23:36:17 +01:00
parent 7248253cdb
commit a580668f9e

View File

@ -34,6 +34,11 @@ function targz() {
fi fi
} }
# Export manpage as PDF
function manp() {
man -t $1 | pstopdf -o $TMPDIR/$1.pdf && open $TMPDIR/$1.pdf && sleep 1 && rm $TMPDIR/$1.pdf
}
# pushover notification # pushover notification
function pushover() { function pushover() {
curl -s \ curl -s \