Skip to content

Avoid VTE preexec prompt markers#157

Draft
Mirochill wants to merge 1 commit into
takluyver:masterfrom
Mirochill:fix-147-vte-version-env
Draft

Avoid VTE preexec prompt markers#157
Mirochill wants to merge 1 commit into
takluyver:masterfrom
Mirochill:fix-147-vte-version-env

Conversation

@Mirochill
Copy link
Copy Markdown

Summary

  • Set VTE_VERSION to an empty value in the installed kernelspec environment so Fedora/GNOME terminal hooks do not add VTE preexec markers.
  • Reset PS0 along with PS1, PS2, and PROMPT_COMMAND when preparing the Bash prompt.

Fixes #147

Validation

  • git diff --check
  • git diff --cached --check
  • git diff --check HEAD~1..HEAD
  • git show --check --oneline HEAD -- bash_kernel/install.py bash_kernel/kernel.py
  • Not run locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

]777;preexec\ before and : 1 after the output

1 participant