Fix osx module manp function

This commit is contained in:
mattmc3 2023-01-28 21:29:09 -05:00 committed by Jeff Widman
parent a4ca924310
commit 8be95c9c7e

View file

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