We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab9ddc0 commit 5ed2682Copy full SHA for 5ed2682
docs/lib/content/commands/npm-completion.md
@@ -10,10 +10,15 @@ description: Tab Completion for npm
10
11
### Description
12
13
-Enables tab-completion in all npm commands.
+Generates a shell script to enable tab-completion for all npm commands.
14
15
-The synopsis above
16
-loads the completions into your current shell. Adding it to
+To load the completions into your current shell:
+
17
+```bash
18
+source <(npm completion)
19
+```
20
21
+Adding its output to
22
your ~/.bashrc or ~/.zshrc will make the completions available
23
everywhere:
24
0 commit comments