I am getting an unexpected end of file error. I am not really sure how to fix it.
# Source global definitions if [ -f /etc/bashrc ]; then . /etc/bash
I had the same error due to missing "fi" line. Make sure to omit syntax errors. The original .bashrc is located in /etc/skel/. So just run the following command:
cp /etc/skel/.bashrc ~