resolve_identity always read ~/.bashrc before ~/.zshrc, so a stale bashrc USER shadowed the zsh one. Order now follows $SHELL.