I'm somewhat new to Bash prompts, but I was finally able to get things somewhat working. However, I have a strange character at the beginning of my prompt:Here's my actual PS1 prompt:PS1='\[\e]2;\u@\h\a${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] 'Can anyone spot the problem? What am I doing wrong here?
Strange Character in my Bash prompt?
bash;terminal;prompt
You're missing the last \] to end the title bar sequence.  The result is that it's eating up some chars & displaying a weird character at the front.try one of these:\[\033]2; \u@\h \007\]\[\e]0;\u@\h\a\]