mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 04:38:01 +00:00
Fix osx module manp function
This commit is contained in:
parent
a4ca924310
commit
8be95c9c7e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user