bash-prompt-generator
bash-prompt-generator copied to clipboard
Cannot import Ubuntu 20.04 prompt
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
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.