|
Home > Archive > Linux Debian support > September 2006 > Terminal colors
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Salve Håkedal 2006-09-24, 7:14 am |
| I run Sarge.
Where is the colors for xterm or virtual terminal defined.
Say if I want directories listed with green color instead
of blue, and the other filetypes in different colors than
the current color?
| |
| Mumia W. (reading news) 2006-09-24, 7:14 am |
| On 09/24/2006 01:45 AM, Salve Håkedal wrote:
> I run Sarge.
>
> Where is the colors for xterm or virtual terminal defined.
> Say if I want directories listed with green color instead
> of blue, and the other filetypes in different colors than
> the current color?
The program dircolors outputs code to set the LS_COLORS environment
variable (which ls uses to display colors).
In Debian Sarge, dircolors is invoked from within ~/.bashrc
Do a "man dircolors." You'll probably want to use the --print-database
option to save the built-in list of colors to a file, then you'll make
your changes in that file and change ~/.bashrc to invoke dircolors with
the name of your changed colors file.
HTH
--
paduille.4058.mumia.w@earthlink.net
| |
| Salve Håkedal 2006-09-24, 1:13 pm |
| On 2006-09-24, Mumia W. (reading news) wrote:
> On 09/24/2006 01:45 AM, Salve Håkedal wrote:
>
> The program dircolors outputs code to set the LS_COLORS environment
> variable (which ls uses to display colors).
>
> In Debian Sarge, dircolors is invoked from within ~/.bashrc
>
> Do a "man dircolors." You'll probably want to use the --print-database
> option to save the built-in list of colors to a file, then you'll make
> your changes in that file and change ~/.bashrc to invoke dircolors with
> the name of your changed colors file.
>
> HTH
>
Thank You!
|
|
|
|
|