Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: correct incorrect desc and usage in npm-completion.md #7996

Open
wants to merge 1 commit into
base: latest
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions docs/lib/content/commands/npm-completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ description: Tab Completion for npm

### Description

Enables tab-completion in all npm commands.
Generates a shell script to enable tab-completion for all npm commands.

The synopsis above
loads the completions into your current shell. Adding it to
To load the completions into your current shell:

```bash
source <(npm completion)
```

Adding its output to
your ~/.bashrc or ~/.zshrc will make the completions available
everywhere:

Expand Down