RE: Term Colors

Subject: RE: Term Colors
From: Steve McGrane (
Date: Thu Feb 01 2001 - 07:18:31 MST

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.

-----Original Message-----
From: Hollis R Blanchard []
Sent: Tuesday, January 30, 2001 5:17 PM
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)...

for i in /etc/profile.d/*.sh ; do
    if [ -x $i ]; then
        . $i


This archive was generated by hypermail 2a24 : Thu Feb 01 2001 - 07:24:27 MST