vte overwriting PROMPT_COMMAND, __vte_prompt_command

Asked by Massimo on 2017-01-02

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_command

Debugging further by
env SHELLOPTS=xtrace PS4='+($?) $BASH_SOURCE:$FUNCNAME:$LINENO:' bash -l
I found the issue: /etc/profile.d/vte-2.91.sh is breaking my environment by blindly replacing PROMPT_COMMAND=__vte_prompt_command.

This is a bug, would you agree? Or is this some issue of the Gentoo distribution? What are the __vte functions actually required for?

Question information

Language:
English Edit question
Status:
Answered
For:
Terminator Edit question
Assignee:
No assignee Edit question
Last query:
2017-01-02
Last reply:
2017-01-10

That file is something provided by and loaded by the libvte component. Terminator does not actively do anything to load this. You should experience the same issue with any terminal emulator based on recent libvte (i.e. gnome-terminal).

You need to raise this issue with the libvte project over at the gnome project.

Can you help with this problem?

Provide an answer of your own, or ask Massimo for more information if necessary.

To post a message you must log in.