mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-25 16:58:38 -05:00
11 lines
543 B
Fish
11 lines
543 B
Fish
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
|