13 lines
367 B
Fish
13 lines
367 B
Fish
function man
|
|
set -x LESS_TERMCAP_mb (tput blink)
|
|
set -x LESS_TERMCAP_md (tput bold)
|
|
set -x LESS_TERMCAP_me (tput sgr0)
|
|
set -x LESS_TERMCAP_so (tput smso)
|
|
set -x LESS_TERMCAP_se (tput rmso)
|
|
set -x LESS_TERMCAP_us (tput sitm)
|
|
set -x LESS_TERMCAP_ue (tput sgr0)
|
|
set -x MANWIDTH (tput cols)
|
|
test $MANWIDTH -gt 80; and set -x MANWIDTH 80
|
|
/usr/bin/man $argv
|
|
end
|
|
|