refactoring of zprofile and various changes to zshrc