summaryrefslogtreecommitdiff
path: root/plugins/node
diff options
context:
space:
mode:
authorAdam Lindberg <eproxus@gmail.com>2011-06-07 15:31:26 +0200
committerAdam Lindberg <eproxus@gmail.com>2011-06-07 15:31:26 +0200
commit86b8827d27a72471eed0e39f3681b4d533811082 (patch)
treecdd5b236aa57f0402e147c11fcc1bc8d3b136fe0 /plugins/node
parent70cb607b7bee04ceef74d6f7aa80589e009e4c78 (diff)
parented990f61ff66a5c409ef2d8a444820cecf098188 (diff)
downloadzsh-86b8827d27a72471eed0e39f3681b4d533811082.tar.gz
zsh-86b8827d27a72471eed0e39f3681b4d533811082.tar.bz2
zsh-86b8827d27a72471eed0e39f3681b4d533811082.zip
Merge remote-tracking branch 'robbyrussell/master'
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"
}