Robert Moskowitz wrote: > How might I turn off (or change) the display of the current path in a > terminal window? > > For example I have one terminal window with: > > rgm@LX140e-3:~/data/htt/Projects/Critical/drafts/draft-ietf-drip-rid/dki-try2$ > > That is the whole line is taken up with the current directory! > > I would be happy if only the lowest dir level is showing, e.g.: > > rgm@LX140e-3:dki-try2$ > > Or some such. > > But not to make a permanent behavior change, as MOST of the time, seeing > where I am is helpful. Set PROMPT_DIRTRIM=1 (or whatever number of directory levels you want to display). Just type that and hit enter, no need to export it or anything. When done, unset the variable, e.g.: unset PROMPT_DIRTRIM. -- 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