Re: format level 3 prompt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> On Tue, 17 Nov 2009 22:11:55 -0800, John R Pierce wrote:
>
>> Mike - email ignored wrote:
>>> How do I format the prompt at level 3?  One of my accounts has it
>>> right, but not the other. I guessed that it was in .tcshrc which was
>>> missing from the bad account so I copied it from the good account, but
>>> it made no difference.
>>>
>>>
>> depends on what shell you're using....   bash uses $HOME/.bash_profile
>
> Its bash.  Following from .bash_profile to .bashrc to /etc/bashrc,
> and noting that at level 3, $TERM=linux, I should be calling
> /etc/sysconfig/bash-prompt-default, if I have one, which I don't.
>
> But root gets it right, and myUser gets it wrong.
>
>    cd; grep -i .*
>
> shows only the .tcshrc which I should have realized is not the one.
> So how is root getting it right?

Ah! Permission/ownership problem?

      mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux