1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 15:08:01 +00:00

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 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