bash: farben fur manpages

This commit is contained in:
Michael Grote 2021-08-24 11:44:24 +02:00
parent 211c5bbcdc
commit aa5f2ac7c4

View file

@ -21,3 +21,13 @@ export PS1='\[\e[34m\]\u@\[\e[34m\]\h \[\e[37m\]\A \[\e[94m\]\w\[\e[33m\]$(__git
# Deaktiviere FlowControl
# https://unix.stackexchange.com/questions/332791/how-to-permanently-disable-ctrl-s-in-terminal
stty -ixon
# farben fur manpages
# https://opensource.com/article/18/5/bash-tricks
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;33m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;42;30m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;36m'