summaryrefslogtreecommitdiff
path: root/plugins/node
diff options
context:
space:
mode:
authorAndrew Hodges <betawaffle@gmail.com>2011-05-30 10:07:15 -0400
committerAndrew Hodges <betawaffle@gmail.com>2011-05-30 10:09:00 -0400
commit1e3b441ce7e0b8706867801c1e5e7ca6760ff17e (patch)
treea5a242dab096e90f16e36262e09168a78c2c6244 /plugins/node
parent142c03dbd223683fd2d99f878b68f0f075cf33fb (diff)
downloadzsh-1e3b441ce7e0b8706867801c1e5e7ca6760ff17e.tar.gz
zsh-1e3b441ce7e0b8706867801c1e5e7ca6760ff17e.tar.bz2
zsh-1e3b441ce7e0b8706867801c1e5e7ca6760ff17e.zip
Rollback of Pull #366
sorin-ionescu had some good points.
Diffstat (limited to 'plugins/node')
-rw-r--r--plugins/node/node.plugin.zsh5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/node/node.plugin.zsh b/plugins/node/node.plugin.zsh
index 18f35333c..519bc18da 100644
--- a/plugins/node/node.plugin.zsh
+++ b/plugins/node/node.plugin.zsh
@@ -1,8 +1,5 @@
-# This works if you installed node via homebrew.
-export NODE_PATH="/usr/local/lib/node"
-
# Open the node api for your current version to the optional section.
# TODO: Make the section part easier to use.
-function node-api {
+function node-docs {
open "http://nodejs.org/docs/$(node --version)/api/all.html#$1"
}