mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
site2pdf support.
This commit is contained in:
6
dotfiles/zshrc.d/site2pdf.zsh
Normal file
6
dotfiles/zshrc.d/site2pdf.zsh
Normal file
@@ -0,0 +1,6 @@
|
||||
function site2pdf {
|
||||
setopt localoptions nounset
|
||||
local URL=${1}
|
||||
local OUTFILE=${2}
|
||||
command wkhtmltopdf -s Letter -q ${URL} ${OUTFILE}
|
||||
}
|
||||
Reference in New Issue
Block a user