summaryrefslogtreecommitdiff
path: root/plugins/node
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2011-05-31 21:24:01 -0700
committerRobby Russell <robby@planetargon.com>2011-05-31 21:24:01 -0700
commit643a4e77f639c1742d1ce01d8028649ae12f8e62 (patch)
tree0b966b315750a74dc045e1c680f85ebcdd799589 /plugins/node
parentba0f13604aadaecb93ca83cc524471ddd1c853b5 (diff)
parent9801ad6453caa05925847f63401e6266378eb2de (diff)
downloadzsh-643a4e77f639c1742d1ce01d8028649ae12f8e62.tar.gz
zsh-643a4e77f639c1742d1ce01d8028649ae12f8e62.tar.bz2
zsh-643a4e77f639c1742d1ce01d8028649ae12f8e62.zip
Merge pull request #375 from betawaffle/rollback-366
Rollback of Pull #366
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"
}