Welcome to mirror list, hosted at ThFree Co, Russian Federation.

completion.1 « man1 - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f205688a87f06bf6771d8b9683240d739d9e531e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.\" Generated with Ronnjs/v0.1
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-COMPLETION" "1" "December 2010" "" ""
.
.SH "NAME"
\fBnpm-completion\fR \-\- Tab Completion for npm
.
.SH "DESCRIPTION"
You should set up tab completion for npm if you haven\'t already\.
There are a few ways to do this:
.
.IP "1" 4
Add \fB\|\. /path/to/npm\-completion\.sh\fR to your ~/\.bashrc file\. OR:
.
.IP "2" 4
Create a symlink like this if you have automatic bash completion set up: \fBln \- /path/to/npm\-completion\.sh /etc/bash\-completion\.d/npm\fR
or, perhaps: \fBln \- /path/to/npm\-completion\.sh /usr/local/etc/bash\-completion\.d/npm\fR
.
.IP "" 0
.
.P
If you\'re using a non\-bash shell (like zsh or ksh) then this might not work\.
.
.P
To get the path to the npm\-completion\.sh file, use \fBnpm explore npm pwd\fR\|\.
.
.P
It\'s a very new feature, and it would be great to get feedback on it\.
Hopefully, I\'ll be able to work out a way to install the completion script
automatically\.  If you have any ideas about how that should work, then please
share them\.