[arch-general] Escape sequences instead of colors in terminal
marcel.lists at gmail.com
Thu Dec 6 07:50:47 EST 2012
On Thu, Dec 6, 2012 at 1:40 AM, Martin Panter <vadmium+al at gmail.com> wrote:
> On 5 December 2012 23:14, Dave Reisner <d at falconindy.com> wrote:
>> Your pager is to blame. Assuming you're using less, you need to pass the -R
>> option. You can add:
>> export LESS=-R
>> To your shell rc file.
> As far as I can tell, Git seems to be able to set the less -R option
> itself. But I notice it doesn’t work if the $LESS environment variable
> is already set. So I’d suggest manually adding -R as Dave said, or
> deleting the variable entirely.
That was indeed the problem. I already have options -MX in my $LESS
(to avoid clearing the screen), so I just added -R and it solved my
More information about the arch-general