diff options
Diffstat (limited to 'doc/cli/npm-completion.md')
-rw-r--r-- | doc/cli/npm-completion.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/cli/npm-completion.md b/doc/cli/npm-completion.md index cc826a4d7..57fa3bbd3 100644 --- a/doc/cli/npm-completion.md +++ b/doc/cli/npm-completion.md @@ -17,9 +17,10 @@ everywhere: npm completion >> ~/.bashrc npm completion >> ~/.zshrc -You may of course also pipe the output of npm completion to a file -such as `/usr/local/etc/bash_completion.d/npm` if you have a system -that will read that file for you. +You may of course also pipe the output of `npm completion` to a file +such as `/usr/local/etc/bash_completion.d/npm` or +`/etc/bash_completion.d/npm` if you have a system that will read +that file for you. When `COMP_CWORD`, `COMP_LINE`, and `COMP_POINT` are defined in the environment, `npm completion` acts in "plumbing mode", and outputs |