On 3/12/25 11:51 AM, Marco wrote:
On 12.03.2025 11:17 Robert Moskowitz wrote:
On 3/12/25 10:59 AM, 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.
And I am using Xfce:
$ echo $PS1
\[\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\\\]
Wow!
So a simple test:
PS1="rgm@LX140e-3:dki-try2$ "
rgm@LX140e-3:dki-try2$
Oh course, I loose all the nice coloration.
Check the bashrc for ${PROMPT_DIRECTORY@P}.
I have changed PS1:
echo $PS1
[\u \W]$
So that PROMPT_DIRECTORY is not what is displayed:
[rgm dki-try2]$ echo ${PROMPT_DIRECTORY@P}
~/data/htt/Projects/Critical/drafts/draft-ietf-drip-rid/dki-try2
PS1 seems to be what I want to play with...
--
_______________________________________________
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