Merged npm plugin into node plugin.

This commit is contained in:
Sorin Ionescu 2011-08-27 21:02:46 -04:00
parent d60b9bd17b
commit aa00cab97e
2 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,9 @@
# Complete npm.
eval "$(npm completion 2>/dev/null)"
# Open the node api for your current version to the optional section.
# TODO: Make the section part easier to use.
function node-docs {
open "http://nodejs.org/docs/$(node --version)/api/all.html#$1"
# TODO: Make the sections easier to use.
function node-docs() {
open "http://nodejs.org/docs/$(node --version)/api/all.html#$1"
}

View File

@ -1 +0,0 @@
eval "$(npm completion 2>/dev/null)"