Fix osx module manp function

main
mattmc3 2 years ago committed by Jeff Widman
parent a4ca924310
commit 8be95c9c7e

@ -9,7 +9,7 @@ function manp {
local page local page
if (( $# > 0 )); then if (( $# > 0 )); then
for page in "$@"; do for page in "$@"; do
man -t "$page" | open -f -a Preview mandoc -T pdf "$(/usr/bin/man -w $page)" | open -fa Preview
done done
else else
print 'What manual page do you want?' >&2 print 'What manual page do you want?' >&2

Loading…
Cancel
Save