Files
Yashas Gunderia a8ad82d4dd fix: register pn alias in generated completions (#12861)
Register the pn short alias in generated shell completion scripts.

pnpm exposes pn as a binary alias, but completion generation only registered
pnpm with the supported shells. This meant zsh completions generated by
pnpm completion zsh registered pnpm only, so pn did not receive the same
completion function.

Post-process the tabtab-generated scripts to register pn alongside pnpm for
bash, fish, pwsh, and zsh, and cover each shell in the completion generator
tests.

Fixes pnpm/pnpm#11955.

---------

Co-authored-by: ychampion <ychampion@users.noreply.github.com>
Co-authored-by: Zoltan Kochan <zoltankochan@gmail.com>
2026-07-09 19:12:10 +02:00
..