bash shell env change - copy/paste etc

Chris F.A. Johnson c.f.a.johnson-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Tue Sep 21 23:08:46 UTC 2004


On Tue, 21 Sep 2004, Qiang (James) Li wrote:

>>
>>> also, the ls command result shows the file/directory in some
>>> uncomfortable colores, how do i make the permanent changes?
>>
>>      Use dircolors.
>>
>>      Create a file with:
>>
>> dircolors > $HOME/.dircolours
>>
>>      Then edit the file (it will be commented to make it quite easy),
>>      and implement the edited file with:
>>
>> eval `dircolors $HOME/.dircolours`
>>
>>      Put the eval line in your $HOME/.bashrc file.
>
> I tried the above and the end result of 'ls' got me no color at all now.
>
> i also tried `dircolors -b > .dircolors` then in .bashrc i have
> eval `dircolors .dircolours` with no avil.

    By default ls does not use colours. You need the --color option.

-- 
 	Chris F.A. Johnson                      http://cfaj.freeshell.org
 	=================================================================
                 Everything in moderation -- including moderation
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list