export EDITOR="code" is the right command in ~/.zshrc, not export EDITOR="code -wait" which is bad syntax for a shell. This relates to a tool in the chain for creating this Github Pages site. It’s a cool tool, created entirely by Copilot and which ran correctly from the start.