Problem
multiagent-setup completions currently supports only zsh and pwsh. Users on bash or fish get:
Unsupported shell 'bash'. Supported: zsh, pwsh
Expected
Support for the two remaining popular shells:
- bash —
eval "$(multiagent-setup completions bash)" or append to ~/.bashrc
- fish —
multiagent-setup completions fish | source or save to ~/.config/fish/completions/multiagent-setup.fish
Implementation notes
- Add
Templates/tools/completions.bash and Templates/tools/completions.fish
- Register both as embedded resources in
MultiagentSetup.csproj
- Add
["bash"] = "tools/completions.bash" and ["fish"] = "tools/completions.fish" to CompletionsCommand.ShellToResource
- Update
--help text and PrintUsage() in Program.cs
- Update both zsh and pwsh completion scripts to list
bash and fish as valid shells for completions subcommand
- Add tests:
CompletionsCommand_Bash_ReturnsScript, CompletionsCommand_Fish_ReturnsScript
Problem
multiagent-setup completionscurrently supports onlyzshandpwsh. Users on bash or fish get:Expected
Support for the two remaining popular shells:
eval "$(multiagent-setup completions bash)"or append to~/.bashrcmultiagent-setup completions fish | sourceor save to~/.config/fish/completions/multiagent-setup.fishImplementation notes
Templates/tools/completions.bashandTemplates/tools/completions.fishMultiagentSetup.csproj["bash"] = "tools/completions.bash"and["fish"] = "tools/completions.fish"toCompletionsCommand.ShellToResource--helptext andPrintUsage()inProgram.csbashandfishas valid shells forcompletionssubcommandCompletionsCommand_Bash_ReturnsScript,CompletionsCommand_Fish_ReturnsScript