Parrot Terminal showing unwanted stuffs when I run `su` command

Whenever I run su to be root, it shows some unwanted random characters.

┌─[biscuit@parrot]─[~]
└──╼ $su

Password:

]\342\224\214\342\224\200$([[ $? != 0 ]] && echo "[\342\234\227]\342\224\200")[$(if [[ ${EUID} == 0 ]]; then
echo ‘root@\h’;
else
echo ‘\u@\h’;
fi)]\342\224\200[\w]
\342\224\224\342\224\200\342\224\200\342\225\274 $" - Parrot Terminal]\342\224\214\342\224\200$([[ $? != 0 ]] && echo "[\342\234\227]\342\224\200")[$(if [[ ${EUID} == 0 ]]; then
echo ‘root@\h’;
else
echo ‘\u@\h’;
fi)]\342\224\200[\w]
\342\224\224\342\224\200\342\224\200\342\225\274 $" - Parrot Terminal┌─[root@parrot]─[/home/biscuit]
└──╼ #

Hi, Yubion!

first of all, welcome to the community! :parrot:

Take a look at this post: Mate terminal shows .bashrc syntax on start

I think you will find the fix.