Description
The \completion\ command currently generates shell completion scripts for bash, zsh, and fish only (\src/commands/completion.ts). Many Windows users (this project supports Windows per AGENTS.md) use PowerShell and have no built-in completion support.
Problem Statement
PowerShell users cannot get tab-completion for commit-echo commands and flags, degrading the CLI experience on Windows.
Proposed Solution
Add \powershell\ as a supported shell in the completion generator and emit a \Register-ArgumentCompleter-based script. Extend \SupportedShell\ / \VALID_SHELLS\ and the generator dispatch accordingly.
Alternatives Considered
- Document manual PowerShell completion (less ergonomic).
Additional Context
See \src/commands/completion.ts:3-5\ for the current shell list. The single-source-of-truth approach there should make adding a shell straightforward.
Description
The \completion\ command currently generates shell completion scripts for bash, zsh, and fish only (\src/commands/completion.ts). Many Windows users (this project supports Windows per AGENTS.md) use PowerShell and have no built-in completion support.
Problem Statement
PowerShell users cannot get tab-completion for commit-echo commands and flags, degrading the CLI experience on Windows.
Proposed Solution
Add \powershell\ as a supported shell in the completion generator and emit a \Register-ArgumentCompleter-based script. Extend \SupportedShell\ / \VALID_SHELLS\ and the generator dispatch accordingly.
Alternatives Considered
Additional Context
See \src/commands/completion.ts:3-5\ for the current shell list. The single-source-of-truth approach there should make adding a shell straightforward.