Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1.0.3
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (27 sloc) 0.718 kb
.\" 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\.
Jump to Line
Something went wrong with that request. Please try again.