1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/plugins/node/node.plugin.zsh

10 lines
257 B

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