Patrick O'Callaghan wrote: > On Wed, 2025-03-12 at 15:48 +0100, Marco wrote: >> On 12.03.2025 10:42 Robert Moskowitz wrote: >> >>> How might I turn off (or change) the display of the current path in a >>> terminal window? >> >> That is being controlled by $PS1 in bashrc (or the config of another >> command interpreter like ksh if you use that). >> >> You can set that temporary by issuing PS1= with the content you want. > > That doesn't apply in Konsole for one. Don't know if it applies in > other terminal emulators. You may be talking about different things. PS1 applies to the shell running in the terminal. It sounds like you're thinking of the terminal window's title, perhaps? Or perhaps you meant that setting it in ~/.bashrc has no effect when you start a new konsole? (Though that should not be the case.) It could apply if it were in ~/.bash_profile or ~/.profile, as those are only read by login shells and konsole (as well as many other GUI terminal apps don't start bash (or whatever) as a login shell. But that's getting far off in the weeds in terms of guessing what you might have meant. ;) All that said, if this were for a temporary change as the OP wanted, you wouldn't write it to a file at all, but rather just set it via typing "PS1=..." and hitting enter. Then you change it back to your default after (either by typing the original PS1, having saved it in another var before resetting it, sourcing the bash config again, or a number of other ways. -- Todd
Attachment:
signature.asc
Description: PGP signature
-- _______________________________________________ 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