bashrc - switch if-statement format and removing unsets