added conditional for ostype when loading zprezto modules
removed unnecessary quotes from around linux-gnu and put then statements on newlines for clairty