move .zshrc / .bash_profile when installing and fail on failed commands
simplify installer and make it more robust