Bash prompt in X-Windows

Andrew Benton b3nton at gmail.com
Tue Feb 23 01:38:35 PST 2010


On 23/02/10 05:22, linux fan wrote:
> On a newly built LFS-6.5 / BLFS system,
> when I start X-Windows, the bash promt is getting set to:
> PS1='\s-\v\$ '
>
> I have it set in /etc/profile to:
> export PS1='\u@\h:\w\$ '
>
> I get the prompt in /etc/profile when on the text consoles or when
> I do 'su - anyuser'
>
> When starting X-Windows on previously built LFS/BLFS systems,
> the bash prompt does not getclobbered to:
> PS1='\s-\v\$ '
>
> What could be causing this on the new system?
Do you source /etc/profile in ~/.bashrc?

Andy



More information about the blfs-support mailing list