Drop the following code in your profile, log out & log back in and man your favourite manpage but use 'pman' this time.
pman()
{
man -t "${1}" | open -f -a /Applications/Preview.app/
}
You'll be presented a PDF document of your man page when you can refer to anytime, complete with search, zoom and anything else you can do with a pdf.
..
No comments:
Post a Comment