How to reinstall Konsole?

So, I was practicing some reverse shell stabilisation and set tge “export TERM=” to something I don’t remember. I tried fixing the P1 thing in .bashrc, and even replacing it with the one in /etc/skelet/. When I type in a longer command, it overwrites the text and starts at the beginning of the same line, instead of moving to the next one.

Parrot 4.11

it is at ~/.bashrc for bash and ~/.zshrc for .zsh