git/list[1] front-page[2] threads[3] people[4] search[5] about
 

odd behavior with export LESS=i

From
ERE R <pc88mxer@gmail.com>
Date
Jul 14, 2009, 17:18 UTC
Message-ID
<3a69fa7c0907141018l4f6fb773o219b6a18effc393d@mail.gmail.com>
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.

Next: E R
Message 1 of 3 in “odd behavior with export LESS=i”
  1. E RJul 14, 2009
  2. E RJul 14, 2009
  3. Sverre RabbelierJul 14, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.