RE: Term Colors


Subject: RE: Term Colors
From: Steve McGrane (steve@globaltap.com)
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.
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



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