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?
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.