bash_profile - switching if-statement style