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: 7476a2d875cf2486cbdf18fc34c5fc896d5e0b22 (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
.\" Generated with Ronnjs/v0.1
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-COMPLETION" "1" "March 2011" "" ""
.
.SH "NAME"
\fBnpm-completion\fR \-\- Tab Completion for npm
.
.SH "SYNOPSIS"
.
.nf
npm completion >> ~/\.bashrc
npm completion >> ~/\.zshrc
.
.fi
.
.SH "DESCRIPTION"
Sets up a function that enables tab\-completion in all npm commands\.
.
.P
You may of course also pipe the relevant script to a file such as \fB/usr/local/etc/bash_completion\.d/npm\fR if you have a system that will
read that file for you\.
.
.P
When \fBCOMP_CWORD\fR, \fBCOMP_LINE\fR, and \fBCOMP_POINT\fR are defined in the
environment, \fBnpm completion\fR acts in "plumbing mode", and outputs
completions based on the arguments\.