Skip to content

Issues with Tilix and VTE #4674

Discussion options

You must be logged in to vote

I looked at VTE's docs and it states this:

If you use a custom PROMPT_COMMAND instead of simply overriding PS1 you also need to update your PROMPT_COMMAND to append working directory information. This can be achieved by calling __vte_osc7 which gets defined when you source /etc/profile.d/vte-2.91.sh.

That should imply that sourcing the script AFTER oh-my-posh init should preserve the prompt but you'll need to set "pwd": "osc7" in oh-my-posh' configuration file.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nshift-gorang
Comment options

Answer selected by nshift-gorang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants