I have a bash command prompt like this:
someone@some-host:~$
I checked the PS1
:
echo $PS1
It shows this:
\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
How to interpret it? Why is it so complex?
I thought "\u@\h:\w$"
should be enough. And I tried to set PS1 to it. It works the same or at least looks so.