mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 13:58:00 +00:00
Merge upstream/master
This commit is contained in:
commit
365499b873
@ -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.
|
||||
|
@ -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