Hi,

GianPiero Puccioni wrote:
> I just upgraded to F40 and my bash prompt has changed, I
> have it set up in .bash_profile and it worked before.
>
> I thought that the default config /etc/profile and
> /etc/bashrc were read first and than the user
> .bash_profile and .bashrc so you can change the defaults;
> was it changed or something else happened? How do I get
> the my PS1 now?

One thing which is new is the bash-color-prompt package was
added.  This installs /etc/profile.d/bash-color-prompt.sh
which sets PS1.  Documentation for how to use it is in
/usr/share/doc/bash-color-prompt/README.md, if you want to
take advantage of it.

Alternately, you can set PS1 in your own startup scripts.
Be aware that if you set it in ~/.bash_profile, shells you
open within a terminal window in many desktops won't be run
as login shells and won't parse ~/.bash_profile.  You may
want to move your PS1 definition to ~/.bashrc instead.

-- 
Todd

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to