bash shell env change - copy/paste etc

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Sep 22 04:03:05 UTC 2004


On Tue, Sep 21, 2004 at 03:53:23PM -0700, Qiang (James) Li wrote:
> 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.

in my .bashrc I have:

    if [ "$TERM" != "dumb" ]; then
        eval `dircolors -b`
    alias ls='ls --color=auto'

That works here, so it may work for you.

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