mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 21:51:42 +00:00
Moved hub into the git plugin.
This commit is contained in:
4
plugins/node/functions/node-docs
Normal file
4
plugins/node/functions/node-docs
Normal file
@ -0,0 +1,4 @@
|
||||
# Open the node api for your current version to the optional section.
|
||||
# TODO: Make the sections easier to use.
|
||||
open "http://nodejs.org/docs/$(node --version)/api/all.html#${1}"
|
||||
|
@ -9,9 +9,3 @@ else
|
||||
fi
|
||||
unset cache_file
|
||||
|
||||
# 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"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user