zsh: fix login/logout stuff