Skip to content

tab-completions for powershell don't work on the root command #1775

@binyamin

Description

@binyamin

CLI version: 1.0.0 🚀
Related: #695

Describe the bug

  • gh <tab> does not offer completions, even after running gh completion --shell powershell |Out-String |Invoke-Expression.
  • However, gh <command> <tab> does offer completions.

Steps to reproduce the behavior

  1. Open Powershell
  2. Type gh
  3. Press tab.
  4. No completion occurs.

Expected vs actual behavior

Expected gh + tab to complete.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds-investigationCLI team needs to investigatepriority-3Affects a small number of users or is largely cosmeticwindowsRelated to Windows hosts or runners

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions