Re: ls colour, prompt

From: Michele Andreoli (
Date: Mon Sep 18 2000 - 21:25:08 CEST

On Sat, Sep 16, 2000 at 11:54:58PM +0200, Denis Bredelet nicely wrote:
> I noticed that some features did not work any more when I start a new
> shell (or ile, by the way) :
> - colour display in ls
> - prompt changes after cd
> Would it help to run /etc/profile each time? Any better idea?

Usually, due to how the getty terminal works, you have at less to
close the connection with "exit" and re log in.

The prompt support in the "cd" command is an elegant hack donated
to me by someone (E. Cavalli, may be), because ash do not support
elaborated prompts. This 'cd' is only a global function in /etc/profile.
Any change has effect only for new login, for example: in other
virtual consoles.

P.S: I currently have problem with my connection, so a lot of
answer will arrive all together.

I'd like to conclude with a positive statement, but I can't 
remember any. Would two negative ones do?       -- Woody Allen
To unsubscribe, e-mail:
For additional commands, e-mail:

This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:16 CET