Added colors for less

This commit is contained in:
Logan G 2021-05-23 14:41:18 -06:00
parent 12ea1be9e4
commit 13e6e40636
Signed by untrusted user: logan
GPG key ID: E328528C921E7A7A

View file

@ -27,6 +27,15 @@ export HISTSIZE=1000
export HISTFILESIZE=2000
export PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
export LESS=-R
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink
export LESS_TERMCAP_md=$'\E[1;36m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink
export LESS_TERMCAP_so=$'\E[01;44;33m' # begin reverse video
export LESS_TERMCAP_se=$'\E[0m' # reset reverse video
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
export LESS_TERMCAP_ue=$'\E[0m' # reset underline
complete -cf sudo
complete -cf swallow
complete -cf sw