Option to trigger `MenuComplete` on consecutive tab press, like Zsh's `AUTO_MENU`

Open
#4,056 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
cli

Research direction

Start by tracing the existing Complete and MenuComplete bindings in PSReadLine and how consecutive Tab presses are handled. Define whether the behavior belongs in a new Tab-bound function or a configuration option, then verify that the first press behaves like Complete and a consecutive press switches to menu completion.

Written by the indexing model from the issue text.

Description

Issue-Enhancement Needs-Triage :mag:
Prerequisites
  • Write a descriptive title.
Description of the new feature/enhancement

It would be nice to have an option to trigger MenuComplete on a consecutive tab press like Zsh's AUTO_MENU. Basically first and second tab act like Complete/Bash does, but pressing it again while the list of options is shown switches to menu completion.

Proposed technical implementation details (optional)

A new function that can be bound to tab that acts this way? Or a config parameter to switch Complete to behave that way.

Dominant language
C#
Stars
4.4k
Forks
341
PR merge metrics
No merged PRs in 30d

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.

More from PowerShell/PSReadLine

All issues in PowerShell/PSReadLine

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.