Slightly less vibrant standout colour in the pager.
[profile.git] / .profile.d / pager.bashrc
index a138375..788da0b 100644 (file)
@@ -1,9 +1,10 @@
 # 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
+  export LESS="AWQXdim"
 
   # Colours.
   case $(tput colors) in
@@ -13,7 +14,7 @@ if [ $? = 0 ]; then
       # Bold is blue.
       export LESS_TERMCAP_md=$'\e[1m\e[38;5;33m'
       # Standout is yellow.
-      export LESS_TERMCAP_so=$'\e[1m\e[38;5;226m'
+      export LESS_TERMCAP_so=$'\e[1m\e[38;5;228m'
       # Underline is cyan.
       export LESS_TERMCAP_us=$'\e[0m\e[38;5;38m'
     ;;