Merge upstream/master

This commit is contained in:
Daniel Carrillo 2023-02-10 19:15:16 +01:00
commit 365499b873
2 changed files with 3 additions and 3 deletions

View File

@ -44,8 +44,8 @@ _gnu_utility_cmds=(
'libtool' 'libtoolize'
# Miscellaneous
'egrep' 'fgrep' 'getopt' 'grep' 'indent' 'make' 'sed' 'tar' 'time' 'units'
'which'
'awk' 'egrep' 'fgrep' 'getopt' 'grep' 'indent' 'make' 'sed' 'tar' 'time'
'units' 'which'
)
# Wrap GNU utilities in functions.

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