chiark / gitweb /
dot/lesskey: Use `-r' instead of `-R'.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 2 Aug 2019 19:30:44 +0000 (20:30 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 3 Aug 2019 02:14:21 +0000 (03:14 +0100)
commitb59e8644263f6e5bd31778ffada9be6e0a539a92
tree2e6b6e9c5b4c18e9af659b7fb054fb61c21353f0
parent36cd5c10a2bb53a0300eb9f1deae427e71f63f0c
dot/lesskey: Use `-r' instead of `-R'.

This seems to handle some kinds of colourized output better.  In
particular, GNU `diff' gets mangled by `less -R': only the first line in
a coloured group ends up actually being coloured.  On the other hand,
`less -r' copes with this properly, maybe because it's actually looking
at the control codes rather than feeding them through without thinking
and then accidentally clobbering their effects.

I don't know why my `less' settings have used `-R', but they have for as
long as I've maintained my profile in Git.  Oh, well.
dot/lesskey