Merge pull request #1371 from rdrey/master
Fixed node-docs
Diff
1diff --git a/plugins/node/node.plugin.zsh b/plugins/node/node.plugin.zsh
2index 519bc18da425f86f2a5fd433cad5075d79a1075a..3bbed6f04c5a165465b63b7c64f24153585645f5 100644
3--- a/plugins/node/node.plugin.zsh
4+++ b/plugins/node/node.plugin.zsh
5@@ -1,5 +1,5 @@
6 # Open the node api for your current version to the optional section.
7 # TODO: Make the section part easier to use.
8 function node-docs {
9- open "http://nodejs.org/docs/$(node --version)/api/all.html#$1"
10+ open "http://nodejs.org/docs/$(node --version)/api/all.html#all_$1"
11 }