I was playing around on Scientific Linux 7 and deleted all the files from my home directory. Now the bash prompt is bash-4.2$. How can I change the prompt and save it. I edited the /etc/bashrc but changing the $PS1 does not change the prompt. 
Deleted home directory files, how to change bash prompt
scientific linux
Just copy everything from /etc/skel/ to your home and change the owner to yourself.There should be a .bashrc in it.