Skip to content

feat: add fish shell completion support#42

Draft
judu wants to merge 1 commit intomasterfrom
feat/fish-completion
Draft

feat: add fish shell completion support#42
judu wants to merge 1 commit intomasterfrom
feat/fish-completion

Conversation

@judu
Copy link
Copy Markdown
Member

@judu judu commented Mar 31, 2026

Summary

  • Add fishScript function to autocompleteScript.js that generates fish completion scripts by parsing cliparse's compgen output (word lists, file completion, directory completion)
  • Wire it up in cli.js via --fish-autocomplete-script option, matching the existing --bash-autocomplete-script and --zsh-autocomplete-script patterns

Test plan

  • Run node <app> --fish-autocomplete-script <app> and verify valid fish script is output
  • Source the generated script in fish and verify completions work

🤖 Generated with Claude Code

Add fishScript function to autocompleteScript.js that generates fish
completion scripts by parsing cliparse's compgen output, handling -W
word lists, -f file completion, and -d directory completion.
Wire it up via --fish-autocomplete-script CLI option.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@judu judu marked this pull request as draft March 31, 2026 15:31
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.

1 participant