bash shell env change - copy/paste etc -- SOLVED

Qiang (James) Li shijialee-/E1597aS9LQAvxtiuMwx3w at public.gmane.org
Tue Sep 21 23:35:12 UTC 2004


thanks for the help, Chris.

you are right, i have to use ls --color to see the result. but i think i need to run

`dircolors -p > .dircolors`   first, then edit the file. note I used -p.
eval `dircolors .dircolors`   to make this take effect.

`info dircolors` reveal much more info than man. that helped.

Qiang

--- "Chris F.A. Johnson" <c.f.a.johnson-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org> wrote:

> 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
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
--
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