Skip to content

Conversation

@Salnika
Copy link

@Salnika Salnika commented Feb 10, 2026

What's the problem this PR addresses?

This PR adds built‑in way to generate shell completions. It adds a yarn completions command that generate a completion script for bash/zsh/fish/PowerShell.

It closes #512
...

How did you fix it?

  • Added a new completions command to @yarnpkg/plugin-essentials that generates completion scripts for bash, zsh, fish, and PowerShell.
  • Added an --install option to write the script into shell completion locations.
    ...

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] CLI autocomplete

1 participant