installer: use guard clauses in setup_shell for better readability
installer: use guard clauses in setup_shell for better readability

Guard clauses are if constructs that return early if there is an error
that prevents continuing. This way there isn't a big nesting of if
expressions.

tekniklr/oh-my-zsh,tekniklr/oh-my-zsh