microsoft/Terminal

Provide shell completions for `wt`

Open

#11.247 geöffnet am 16. Sept. 2021

Auf GitHub ansehen
 (10 Kommentare) (5 Reaktionen) (1 zugewiesene Person)C++ (3.212 Forks)batch import
Area-CommandlineHelp WantedIssue-FeatureProduct-Terminal

Repository-Metriken

Stars
 (35.764 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 27T 19h) (24 gemergte PRs in 30 T)

Beschreibung

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 for bash, zsh and fish as a part of their release.

Contributor Guide