From 8be95c9c7e816cb1277f127eb281d5b5408ed22d Mon Sep 17 00:00:00 2001 From: mattmc3 Date: Sat, 28 Jan 2023 21:29:09 -0500 Subject: [PATCH] Fix osx module manp function --- modules/osx/functions/manp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/osx/functions/manp b/modules/osx/functions/manp index fcb2a026..d31bbc40 100644 --- a/modules/osx/functions/manp +++ b/modules/osx/functions/manp @@ -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