Command line tab 자동완성
플러그인이 필요한 다른 패키지 매니저들과는 달리, pnpm은 tab 자동완성 기능을 자체적으로 지원합니다.
To setup autocompletion for Bash, run:
pnpm completion bash > ~/completion-for-pnpm.bash
echo 'source ~/completion-for-pnpm.bash' >> ~/.bashrc
g-plane/pnpm-shell-completion
pnpm-shell-completion is a shell plugin maintained by Pig Fang on Github.
Features:
- Provide completion for
pnpm --filter <package>
. - Provide completion for
pnpm remove
command, even in workspace's packages (by specifying--filter
option). - Provide completion for scripts in
package.json
.