my-yadm/.local/dotfiles/environment/less.zsh

22 lines
859 B
Bash
Raw Normal View History

export LESS_TERMCAP_mb=$'\e[1;31m' # enter blinking mode
2018-12-25 13:15:20 -05:00
#export LESS_TERMCAP_md=$'\e[1;34;74m' # double-bright mode
export LESS_TERMCAP_md=$'\e[38;5;106m' # double-bright mode
export LESS_TERMCAP_me=$'\e[0m' # turn off all appearance mode
#export LESS_TERMCAP_so=$'\e[30;42m' # enter standout mode
2018-12-25 13:15:20 -05:00
export LESS_TERMCAP_so=$'\e[38;5;23;48;5;106m' # begin standout-mode - info box
export LESS_TERMCAP_se=$'\e[0m' # end standout mode
export LESS_TERMCAP_us=$'\e[4;32;146m' # begin underline
export LESS_TERMCAP_ue=$'\e[0m' # end underline
2018-12-25 13:15:20 -05:00
#export LESS_TERMCAP_so=$(tput bold; tput setaf 3; tput setab 4) # yellow on blue
#export LESS_TERMCAP_se=$(tput rmso; tput sgr0)
#export LESS_TERMCAP_mr=$(tput rev)
#export LESS_TERMCAP_mh=$(tput dim)
2019-01-05 16:25:43 -05:00
export LESS="-R"
export LESSOPEN="|~/bin/lessfilter %s"