summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Dreyer <rdrey1@gmail.com>2012-10-22 00:12:00 +0200
committerRainer Dreyer <rdrey1@gmail.com>2012-10-22 00:12:00 +0200
commit7e2156a1b17a16243e92569c4df82c562f75ffb2 (patch)
tree40e8d63c9cfaed7cca372a20b35cb5c7d59b57f4
parentc2ae9e09ca1f33ff1e13e629a0b2e6bdd19f83a9 (diff)
downloadzsh-7e2156a1b17a16243e92569c4df82c562f75ffb2.tar.gz
zsh-7e2156a1b17a16243e92569c4df82c562f75ffb2.tar.bz2
zsh-7e2156a1b17a16243e92569c4df82c562f75ffb2.zip
Fixed node-docs
The `#anchor` tags on [nodejs.org](http://nodejs.org/docs/v0.8.2/api/all.html) changed. This fixes the `node-docs` command.
-rw-r--r--plugins/node/node.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/node/node.plugin.zsh b/plugins/node/node.plugin.zsh
index 519bc18da..3bbed6f04 100644
--- a/plugins/node/node.plugin.zsh
+++ b/plugins/node/node.plugin.zsh
@@ -1,5 +1,5 @@
# 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"
+ open "http://nodejs.org/docs/$(node --version)/api/all.html#all_$1"
}