mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-14 09:42:37 -04:00
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>