FollieHiyuki-dotfiles/home/.config/fish/functions/man.fish

11 lines
543 B
Fish
Raw Normal View History

2021-02-13 11:28:59 -05:00
function man -d "man with colors"
set -x LESS_TERMCAP_mb (printf "\e[01;31m") # begin blink
set -x LESS_TERMCAP_md (printf "\e[01;36m") # begin bold
set -x LESS_TERMCAP_me (printf "\e[0m") # reset bold/blink
set -x LESS_TERMCAP_se (printf "\e[0m") # reset reverse video
set -x LESS_TERMCAP_so (printf "\e[01;44;33m") # begin reverse video
set -x LESS_TERMCAP_ue (printf "\e[0m") # reset underline
set -x LESS_TERMCAP_us (printf "\e[01;32m") # begin underline
command man $argv
end