Suddenly Bash has changed my STATUS

I was as usual using bash(terminal) my prompt was green i.e. peter@mx:- it has changed to red.
echo $PATH gives :
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games; missing ARE :
:/home/peter/testing_scripts and :/home/peter/rhag ; although .bashrc STILL has :
export PATH=$PATH:/home/peter/testing_scripts and export PATH=$PATH:/home/peter/rhag.
Obviously I cannot use any aliases or run any scripts.May I please have some suggestions to remedy this and how could it have happened?

MX Linux 18.3 x64

You must logged in as another user. Did you run the su or sudo command? You can verify your username memebership with id:

id

I have given up on this, as I had a bug and have now re-installed