mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
14 lines
663 B
Text
14 lines
663 B
Text
# Less colors
|
|
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
|
|
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold
|
|
export LESS_TERMCAP_me=$'\E[0m' # end mode
|
|
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
|
|
export LESS_TERMCAP_ue=$'\E[0m' # end underline
|
|
export LESS_TERMCAP_us=$'\E[04;38;5;146m' # begin underline
|
|
export LESS_TERMCAP_so=$'\E[38;5;246m' # begin standout-mode - info box (This stops hilighting from working properly.)
|
|
|
|
if [[ -x `which lesspipe.sh` ]]; then
|
|
export LESS="-R -M --shift 5"
|
|
export LESSOPEN="|lesspipe.sh %s"
|
|
export LESSCOLOR=1
|
|
fi
|