Wednesday, March 27, 2024

Re: No coloring with colorls

What is the correct setting, taking into account the coloring of the
directory listing?

Op 27-03-2024 om 14:02 schreef Stuart Henderson:
> On 2024-03-27, Karel Lucas <cahlucas@planet.nl> wrote:
>> It works correctly! My /etc/profile now looks like this:
>> export TERM=xterm-256color
> That is not working correctly, because you forcibly override the correct
> TERM which is set for things like screen/tmux.
>
> For the console, use /etc/ttys.
>
> For an X terminal, use whatever mechanism is correct for that terminal
> (.Xdefaults XTerm*termName for xterm).
>
>

No comments:

Post a Comment