> Debian's /etc/skel/.bashrc contains these lines:
> 
> if [ "$color_prompt" = yes ]; then
>     
> PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m
> \]:\[\033[01;34m\]\w\[\033[00m\]\$
>  '
> else
>     PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
> fi
> 
> The leading \[\e]0... part appears to be a local addition.
> 

It's there, a few lines below. See 
https://sources.debian.org/src/bash/5.0-5/debian/skel.bashrc/#L69


Reply via email to