For what it is worth, locally changing things like PS1 and environment variable assignments should be made in .bashrc, not .bash_profile.
On Sunday, December 1, 2024 at 01:38:29 PM EST, GianPiero Puccioni <gianpiero.puccioni@xxxxxxxxxx> wrote:
On 01/12/2024 17:16, Todd Zullinger wrote:
>
> 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.
>
Yes, I found it, it's too messy for me.
> 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.
>
I did that and it seems to work, thanks
G
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
>
> 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.
>
Yes, I found it, it's too messy for me.
> 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.
>
I did that and it seems to work, thanks
G
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue