Less convoluted rtp setting.
[profile.git] / .profile.d / pager.bashrc
index dbcb3d6..0da0aa8 100644 (file)
@@ -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.