[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: ls --color feature request: ordinary files uncoloured
From: |
Avis, Ed |
Subject: |
RE: ls --color feature request: ordinary files uncoloured |
Date: |
Thu, 15 Jan 2004 10:11:23 -0000 |
Jim Meyering wrote:
>>If for some reason my terminal gets into a strange mode where the
>>color of the text is changed and difficult to read, all I need to do
>>is run an 'ls' command, and the colors will be restored to normal.
>
>Ed suggested eliminating the 00-escape sequence around each
>dircolors-NORMAL file. I expect that his change will not
>affect the independent, term-color-restoring escape sequence
>at the end of `ls --color' output.
I think that if no escape sequences were used during the directory
listing then there's no need to restore anything afterwards.
If you do like the side-effect of ls restoring your terminal, you could
set LS_COLORS so that ordinary files are white.
--
Ed Avis <address@hidden>