# profile-required: TERM.bashrc
less=$(find_working -A less 2>/dev/null)
if [ $? = 0 ]; then
- export PAGER=less
- export GIT_PAGER=$PAGER
+ export PAGER="less -R"
+ export GIT_PAGER="$PAGER"
export LESSCHARSET=utf-8
+ export LESS="AWQXdim"
# Colours.
case $(tput colors) in
# Bold is blue.
export LESS_TERMCAP_md=$'\e[1m\e[38;5;33m'
# Standout is yellow.
- export LESS_TERMCAP_so=$'\e[1m\e[38;5;226m'
+ export LESS_TERMCAP_so=$'\e[1m\e[38;5;228m'
# Underline is cyan.
export LESS_TERMCAP_us=$'\e[0m\e[38;5;38m'
;;