From: Iain Patterson Date: Mon, 4 Jan 2016 12:11:51 +0000 (+0000) Subject: Add some less options. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=c01aaa750e997a9603137d449cd924332b39307d;p=profile.git Add some less options. -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. --- diff --git a/.profile.d/pager.bashrc b/.profile.d/pager.bashrc index 0da0aa8..bc1a88a 100644 --- a/.profile.d/pager.bashrc +++ b/.profile.d/pager.bashrc @@ -4,6 +4,7 @@ if [ $? = 0 ]; then export PAGER="less -R" export GIT_PAGER="$PAGER" export LESSCHARSET=utf-8 + export LESS="AWQXdim" # Colours. case $(tput colors) in