Skip to content

fix: stop fish flags after request text - #17

Draft
sb123sb123 wants to merge 2 commits into
Thakay:mainfrom
sb123sb123:fix/15-fish-flag-completion
Draft

sb123sb123 wants to merge 2 commits into
Thakay:mainfrom
sb123sb123:fix/15-fish-flag-completion

Conversation

@sb123sb123

@sb123sb123 sb123sb123 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Closes #15.

Fish flag completions now stop after the request begins, matching Bash and Zsh. The condition skips the values for -key, -url, -model, and -timeout, stops at --, retains the timeout choices, and preserves filename completion for request text.

The added fish smoke test covers the acceptance cases and the -key=value form.

Validation: the existing CI jobs pass, including Go tests on Ubuntu and macOS for oldstable and stable, plus analyze, fuzz, govulncheck, lint, release build, and CodeQL. The fish smoke test has not run in fish and is not wired into this repository CI, so this PR remains a draft pending target-shell verification.

Signed-off-by: sb123sb123 <152394158+sb123sb123@users.noreply.github.com>
Signed-off-by: sb123sb123 <152394158+sb123sb123@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fish completion: stop offering flags once the request has started

1 participant