Re: PS1 not in .bash_profile but somewhere else ?

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

 





On 02/06/2023 13:56, lejeczek via users wrote:
Hi guys

I have one specific user whose PS1 if not set in .bash_profile, is taken from somewhere else.
At the same time globally I set PS1 in /etc/environment - bu that, this one user does not honor.
I've tried a few terminal/console apps - no difference.

Where else can PS1 be set and/or how to find out here PS1 for a user/account was set?

many thanks, L.


A bit more fiddling..
I don't know what role in it gnome-terminal plays but, it seems that PS1 gets "global" at Gnome login time and user inherits that, if set in  '/etc/environment; , if PS1 set specifically in user "profile", then takes expected effect.
If set only in '/etc/environment' , PS1 is read by gnome/terminal but is malformed, as not digested, raw - suffices to 'ssh localhost' from the same gnome terminal and PS1 is set, displayed properly
In terminal, "Run command as login shell" is ON for all my fiddling and makes no difference.

It smells to me like a bug, I'd not presume it's intentional.

thanks, L.
_______________________________________________
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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux