fish: fix man for builtins
This commit is contained in:
parent
7fa6718163
commit
cbd8c3d8a0
|
@ -160,12 +160,14 @@ abbr -g wcf 'wl-copy-f'
|
||||||
# man
|
# man
|
||||||
################################################################
|
################################################################
|
||||||
|
|
||||||
|
functions -q _man
|
||||||
|
or functions -c man _man
|
||||||
|
|
||||||
function man -w man
|
function man -w man
|
||||||
test "$COLUMNS" -lt 80
|
test "$COLUMNS" -lt 80
|
||||||
and set -x MANWIDTH "$COLUMNS"
|
and set -x MANWIDTH "$COLUMNS"
|
||||||
or set -x MANWIDTH 80
|
or set -x MANWIDTH 80
|
||||||
|
_man $argv
|
||||||
command man $argv
|
|
||||||
end
|
end
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
|
|
Reference in New Issue