This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
2011-08-27 21:02:46 -04:00
|
|
|
# Complete npm.
|
|
|
|
eval "$(npm completion 2>/dev/null)"
|
|
|
|
|
2011-05-28 11:20:48 -04:00
|
|
|
# Open the node api for your current version to the optional section.
|
2011-08-27 21:02:46 -04:00
|
|
|
# TODO: Make the sections easier to use.
|
|
|
|
function node-docs() {
|
|
|
|
open "http://nodejs.org/docs/$(node --version)/api/all.html#$1"
|
2011-05-28 11:20:48 -04:00
|
|
|
}
|
2011-08-27 21:02:46 -04:00
|
|
|
|