I was playing with PS1 variable to decorate my terminal but suddenly this happened.

It is continously throwing bash: unexpected EOF while looking for matching ')'. I tried CTRL C and CTRL D but nothing worked.
This code is from ~/.bahsrc file so it gets executed as soon as I open the terminal. Is there any way to fix this without clearing data of Termux?
If I need to clear data Termux, is there any way to backup the HOME Directory of Termux?
CodePudding user response:
When you hold the Termux icon, it should display a menu that makes it possible to run "Failsafe". There, you can mv .bashrc .bashrc.bad (or .profile or whatever causes the problem) and then run a normal session.
