microsoft / microsoft/terminal
Provide shell completions for `wt`
@kkostrzewa is already working on this.
Since Apr 3, 2023.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
# Description of the new feature/enhancement
Many apps/tools nowadays provide shell completion files (for bash/zsh/powershell). They help in easy discovery of commandline arguments and are overall a QoL enhancement.
Since `wt` supports a plethora of commandline args, it'be pretty nice to have completion files for PowerShell and CMD (through Clink, if possible).
# Proposed technical implementation details (optional)
All shells have their own way of defining completions. (For powershell it's `Register-ArgumentCompleter`).
Almost all CLI utilities provide the files (examples - ripgrep, gh (CLI), hyperfine). Alacritty, too provides [completion files](https://github.com/alacritty/alacritty/releases) for bash, zsh and fish as a part of their release.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.