Repository navigation
zenoのdeno runから--を取り除いた - #20
Conversation
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Reviewed the new postPatch step in modules/zeno.nix against upstream zeno.zsh at the pinned rev 2e8fbec, along with the matching AGENTS.md note.
- Strip
--before the zeno entrypoint — ased -i -Eoverbin/andshells/drops the--in front of"…/src/cli.ts"and"…/src/server.ts". Thegrepguard fails the build if upstream changes, following the existing--node-modules-dirpatch. - Document the deno 2.9 regression —
AGENTS.mdexplains thatdeno run <flags> -- <script>falls back todeno task, so the socket server never starts andzeno-history-precmdstalls each prompt for about 5s.
I checked the regex against the upstream source. It matches every deno run … -- <script> site in the zsh and fish wrappers, including bin/zeno, bin/zeno-server, and shells/{zsh,fish}/functions/zeno{,-server}. It also matches the two deno cache … -- "…/src/cli.ts" calls in shells/zsh/functions/zeno-init and shells/fish/conf.d/zeno.fish. Removing -- there does no harm, since deno cache takes the file as a plain positional argument. The only other deno run in upstream is the fallback in src/command/commands/index.ts, and it never used --.
Claude Opus | 𝕏

No description provided.