Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import Ubuntu 20.04 prompt #26

Open
jxu opened this issue Dec 31, 2023 · 1 comment
Open

Cannot import Ubuntu 20.04 prompt #26

jxu opened this issue Dec 31, 2023 · 1 comment
Labels

Comments

@jxu
Copy link

jxu commented Dec 31, 2023

Sorry for the issue spam. Here is the default PS1 that comes with my Ubuntu 20.04:

\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$

Pasting this into the website will make it complain about debian_chroot

@Scriptim Scriptim added the bug label Dec 31, 2023
@Scriptim
Copy link
Owner

The ${debian_chroot:+($debian_chroot)} syntax should work now with 817e013. However, the Debian prompt uses a different syntax for color escape codes which is not supported by the generator/parser as of now.

Repository owner deleted a comment from DylanZhu2021 Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants