Re: [EXTERNAL] hostname exposed over ssh?

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

 



On 9/3/25 1:21 PM, Osama Albahrani wrote:
On Wed, Sep 3, 2025 at 8:15 PM Przemek Klosowski via devel
<devel@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
So, somehow, shells stopped setting PS1?
No, it is just set differently:

     % podman run --rm -it fedora:42
     [root@8c16d98d812e /]# echo $PS1
     [\u@\h \W]\$

     % podman run --rm -it fedora:43
     bash-5.3# echo $PS1
     \s-\v\

Both of them are just basic prompts that do not set the terminal tab title.

My Fedora tab is a monster:

\[\e]133;D;$?\e\\\e]133;A\e\\\]${PROMPT_START@P}\[\e[${PROMPT_COLOR}${PROMPT_HIGHLIGHT:+;$PROMPT_HIGHLIGHT}m\]${PROMPT_USERHOST@P}\[\e[0m\]${PROMPT_SEPARATOR@P}\[\e[${PROMPT_DIR_COLOR-${PROMPT_COLOR}}${PROMPT_HIGHLIGHT:+;$PROMPT_HIGHLIGHT}m\]${PROMPT_DIRECTORY@P}\[\e[0m\]${PROMPT_END@P}\$\[\e[0m\] \[\e]133;B\e\\\]

AFAIR it is a default that I didn't mess with.

--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux