fish: fix man for builtins

This commit is contained in:
lelgenio 2021-06-17 19:13:11 -03:00
parent 7fa6718163
commit cbd8c3d8a0
1 changed files with 4 additions and 2 deletions

View File

@ -160,12 +160,14 @@ abbr -g wcf 'wl-copy-f'
# man
################################################################
functions -q _man
or functions -c man _man
function man -w man
test "$COLUMNS" -lt 80
and set -x MANWIDTH "$COLUMNS"
or set -x MANWIDTH 80
command man $argv
_man $argv
end
################################################################