On Sun, 23 Apr 2006, Jari Aalto wrote: > | Please note that policy says: > | > | A program must not depend on environment variables to get reasonable > | defaults. > | > | The way I read this, whatever "good" defaults you think should be in > | /etc/profile, should be instead coded in the shells themselves > | as a default when no PS1 is set at all. > > The quote has no relevance in this point, because program's behavior > is not dependent on it.
Yes, it is relevant. We are using the PS1 environment variable to get a reasonable default for the prompt. If we followed policy, we should not be setting the environment variable PS1 so that bash gets a good default for the prompt. Same for any other shell. So, instead of breaking policy even more (by adding more defaults to override the shell's internal "bad" defaults), we should be thinking about following policy closer, which means removing PS1 settings completely from /etc/profile in the long run. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

