microsoft / microsoft/terminal

Provide shell completions for `wt`

Open
#11,247 10 comments 5 reactions 1 assignee View on GitHub

@kkostrzewa is already working on this.

Since Apr 3, 2023.

Area-Commandline Help Wanted Issue-Feature Product-Terminal
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.