Update .zshrc/.bashrc snippet to show errors.