X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.profile.d%2Fpager.bashrc;h=0da0aa8709e259430a758ac76b268365cbbdbf80;hp=a13837504e3b66de5b3d333ca2da22285cad58dc;hb=bd810050f68617900aaf284518f41d12977f2320;hpb=c66932991642182e402d7f5bd7ee71038e5c93af diff --git a/.profile.d/pager.bashrc b/.profile.d/pager.bashrc index a138375..0da0aa8 100644 --- a/.profile.d/pager.bashrc +++ b/.profile.d/pager.bashrc @@ -1,8 +1,8 @@ # profile-required: TERM.bashrc -less=$(find_working less 2>/dev/null) +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 # Colours.