On Wed, 12 Mar 2025 at 16:09, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> wrote:
I don't want it permanent. this whole process is to deal with those
specific times I am working on a project in a very deep directory.
It seems like you're covered with just tweaking your PS1 but if you wanted more conditional behaviour, have a look at PROMPT_DIRTRIM (cf: https://stackoverflow.com/a/8428363)
If you want to only change the prompt for a specific directory, or set of directories, https://direnv.net/ is just the ticket (and already available from the Fedora repos.)
-- _______________________________________________ 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