From: Iain Patterson Date: Fri, 26 Nov 2010 15:38:21 +0000 (+0000) Subject: Fix PAGER. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=afde48fdbf30c96f0dccf36992843daf2fc9062d;p=profile.git Fix PAGER. Use "less -R" where less is available. --- diff --git a/.profile.d/pager.bashrc b/.profile.d/pager.bashrc index dbcb3d6..0da0aa8 100644 --- a/.profile.d/pager.bashrc +++ b/.profile.d/pager.bashrc @@ -1,8 +1,8 @@ # 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 # Colours.