mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-22 10:39:57 +01:00
Add manpage pdf function
This commit is contained in:
parent
7248253cdb
commit
a580668f9e
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user