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

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/man1
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-12-06 08:24:40 +0300
committerisaacs <i@izs.me>2010-12-06 08:24:40 +0300
commiteedcdcf3a831af092c9ff0ee0a513843fab26333 (patch)
tree5ffc4985d76418aef5aeb5d7ac0a6f5b0734a0ec /man1
parentfe7e2869fc380021c1f5df8ac4c3b47c3a97bc97 (diff)
docs about completion
Diffstat (limited to 'man1')
-rw-r--r--man1/completion.132
1 files changed, 32 insertions, 0 deletions
diff --git a/man1/completion.1 b/man1/completion.1
new file mode 100644
index 000000000..f205688a8
--- /dev/null
+++ b/man1/completion.1
@@ -0,0 +1,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\.