From afde48fdbf30c96f0dccf36992843daf2fc9062d Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 26 Nov 2010 15:38:21 +0000 Subject: [PATCH] Fix PAGER. Use "less -R" where less is available. --- .profile.d/pager.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.20.1