Skip to content

Commit

Permalink
Fix osx module manp function
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmc3 authored and jeffwidman committed Jan 30, 2023
1 parent a4ca924 commit 8be95c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/osx/functions/manp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8be95c9

Please sign in to comment.