Re: Term Colors


Subject: Re: Term Colors
From: Hollis R Blanchard (hollis+@andrew.cmu.edu)
Date: Tue Jan 30 2001 - 15:16:48 MST


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



This archive was generated by hypermail 2a24 : Tue Jan 30 2001 - 15:17:53 MST