mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-12-22 15:01:54 +01:00
Add manpage pdf function
This commit is contained in:
parent
7248253cdb
commit
a580668f9e
@ -34,6 +34,11 @@ function targz() {
|
||||
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
|
||||
function pushover() {
|
||||
curl -s \
|
||||
|
Loading…
Reference in New Issue
Block a user