mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
fc21c89f2e
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
449 B
449 B
npm completion
Enable or set up tab-completion for npm commands. More information: https://docs.npmjs.com/cli/npm-completion/.
- Enable tab-completion for the current shell session:
npm completion
- Add completion to the shell profile (Bash):
npm completion >> ~/.bashrc
- Add completion to the shell profile (Zsh):
npm completion >> ~/.zshrc
- Write completions script to a specific file:
npm completion > {{path/to/file}}