vte overwriting PROMPT_COMMAND, __vte_prompt_command
Happy new year.
After latest updates I wondered my prompt was different. Usually in my profiles I only append things to PROMPT_COMMAND instead of overwriting it. Now I found there is another command which changes my $PS1: __vte_prompt_
Debugging further by
env SHELLOPTS=xtrace PS4='+($?) $BASH_SOURCE:
I found the issue: /etc/profile.
This is a bug, would you agree? Or is this some issue of the Gentoo distribution? What are the __vte functions actually required for?
Can you help with this problem?
Provide an answer of your own, or ask Massimo for more information if necessary.