When I start emacs -q
and run M-x shell
there is formatting error when connecting to docker container as follows,
$ docker container exec -it b3c85fd9c5eaa2e64fc5aac9025d1f9c3b3fe47ca39008f40ddd436338d755f5 bash
]0;root@b3c85fd9c5ea: /root@b3c85fd9c5ea:/# ls
ls
bin dev home lib64 mnt proc run srv tmp var
boot etc lib media opt root sbin sys usr
]0;root@b3c85fd9c5ea: /root@b3c85fd9c5ea:/#
Here is its screenshot
PS1
environment variable in that container?echo $PS1
output\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$