Add in zsh / man less config.

This commit is contained in:
Michael Welford 2019-04-30 13:34:12 +09:30
parent 011a43e33b
commit 516dda0f15

20
zsh/falcon.zsh Normal file
View File

@ -0,0 +1,20 @@
#!/bin/zsh
# add in colouring to man
# mb = blink
# md = begin bold
# me = end mode
# se = end stand out
# so = begin stand out
# ue = end underline
# us = begin underline
man() {
LESS_TERMCAP_mb=$'\e[01;31m' \
LESS_TERMCAP_md=$'\e[01;97m' \
LESS_TERMCAP_me=$'\e[0m' \
LESS_TERMCAP_so=$'\e[01;48;5;117;30m' \
LESS_TERMCAP_se=$'\e[0m' \
LESS_TERMCAP_ue=$'\e[0m' \
LESS_TERMCAP_us=$'\e[04;94m' \
command man "$@"
}