Re: odd behavior with export LESS=i
- From
- E R <pc88mxer@gmail.com>
- Date
- Jul 14, 2009, 17:28 UTC
- Message-ID
- <3a69fa7c0907141028u172fc32eg87db0364a189d94c@mail.gmail.com>
- In-Reply-To
- <3a69fa7c0907141018l4f6fb773o219b6a18effc393d@mail.gmail.com>
Ok - I've just read the git-config man page (the section on core.pager) which explains everything..
On Tue, Jul 14, 2009 at 12:18 PM, E R<pc88mxer@gmail.com> wrote:
Show 19 quoted lines
> Is this a problem with less or with git? > > From the shell if I run: > > export LESS > LESS=i git log > > then I see things like ESC[33m instead of colored text. > > If I run: > > unset LESS > git log > > then I get colored text. > > Note that the environment variable LESS is used to pass default > command line switches to less. >