13 lines
395 B
Fish
13 lines
395 B
Fish
function man
|
|
set -x LESS_TERMCAP_mb (tput blink)
|
|
set -x LESS_TERMCAP_md (tput bold)(tput setaf 1)
|
|
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)(tput setaf 2)
|
|
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
|
|
|