corrected infinate loop prevention check in bashrc sourceing.