git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Slightly less vibrant standout colour in the pager.
[profile.git]
/
.profile.d
/
pager.bashrc
diff --git
a/.profile.d/pager.bashrc
b/.profile.d/pager.bashrc
index
dbcb3d6
..
788da0b
100644
(file)
--- a/
.profile.d/pager.bashrc
+++ b/
.profile.d/pager.bashrc
@@
-1,9
+1,10
@@
# profile-required: TERM.bashrc
less=$(find_working -A less 2>/dev/null)
if [ $? = 0 ]; then
# 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
export LESSCHARSET=utf-8
+ export LESS="AWQXdim"
# Colours.
case $(tput colors) in
# 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.
# 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;22
6
m'
+ export LESS_TERMCAP_so=$'\e[1m\e[38;5;22
8
m'
# Underline is cyan.
export LESS_TERMCAP_us=$'\e[0m\e[38;5;38m'
;;
# Underline is cyan.
export LESS_TERMCAP_us=$'\e[0m\e[38;5;38m'
;;