Skip to content

fix(cli): avoid duplicate Zsh positional completion#36422

Draft
opencode-agent[bot] wants to merge 1 commit into
v2from
zsh-positional
Draft

fix(cli): avoid duplicate Zsh positional completion#36422
opencode-agent[bot] wants to merge 1 commit into
v2from
zsh-positional

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Fixes #36412.

Summary

  • omit root positional specs when Zsh subcommand dispatch already owns position 1
  • cover the generated OpenCode Zsh completion with a regression test

Tests

  • bun test test/completions.test.ts
  • bun x prettier --check test/completions.test.ts
  • bun typecheck timed out after 180 seconds on the shared host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant