By editing that file the way you did, you gave ownership to root, so now your user likely can’t use it. You need to give it back.
sudo chown $USER:$USER $HOME/.bashrc
Also, i think messed up the formating of your post.
By editing that file the way you did, you gave ownership to root, so now your user likely can’t use it. You need to give it back.
sudo chown $USER:$USER $HOME/.bashrc
Also, i think messed up the formating of your post.