fixed bashrc empty if statement