RE: Term Colors


Subject: RE: Term Colors
From: Philip Good (phil@go2taichi.com)
Date: Thu Feb 01 2001 - 09:24:00 MST


I figured that one out and I notice that the calls to the .sh scripts ARE in profile but for some reason it looks like profile is not getting
called for a gnome-terminal, which is what I've been using. Where and when is profile called?

Thanks
Phil

> The main reason for the colored ls is the alias to ls: ls --color=tty
>
> Steve McGrane
> Hosting and Server Management Solutions for Your Growing Business.
> http://www.globaltap.com
>
> -----Original Message-----
> From: Hollis R Blanchard [mailto:hollis+@andrew.cmu.edu]
> Sent: Tuesday, January 30, 2001 5:17 PM
> To: yellowdog-general@lists.yellowdoglinux.com
> Subject: Re: Term Colors
>
>
> On Tue, 30 Jan 2001, Philip Good wrote:
>
> > For any who are interested: I couldn't figure out why, when I logged
> > into my RH7 PC my term had all these cool colors for links, permissions,
> > etc. There are some lines in it's /etc/bashrc which initialize some
> > terminal customization scripts. Add these lines to /etc/bashrc (assuming
> > your using bash), it also adds some basic aliases such as ll and which.
> >
> > if [ "x$SHLVL" != "x1" ]; then
> > for i in /etc/profile.d/*.sh; do
> > if [ -x $i ] ; then
> > . $i
> > fi
> > done
> > fi
>
> That should already be in /etc/profile (run on every login)...
>
> [snip]
> for i in /etc/profile.d/*.sh ; do
> if [ -x $i ]; then
> . $i
> fi
> done
> [snip]
>
> -Hollis
>
>
>

-- 
Philip Good
Red Planet Development, Red Canyon Software, Good Chi Tai Chi



This archive was generated by hypermail 2a24 : Thu Feb 01 2001 - 09:25:16 MST