-A: Restore pre-441 behaviour of searching from the cursor line.
-W: Highlight scrolled lines.
-Q: Don't ring the bell.
-X: Don't initialise the terminal, so it isn't cleared.
-d: Suppress dumb terminal message.
-i: Case-insensitive search.
-m: Slightly more verbose prompt.
export PAGER="less -R"
export GIT_PAGER="$PAGER"
export LESSCHARSET=utf-8
export PAGER="less -R"
export GIT_PAGER="$PAGER"
export LESSCHARSET=utf-8
# Colours.
case $(tput colors) in
# Colours.
case $(tput colors) in