1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 00:17:59 +00:00

Support pre-release node version documentation.

This commit is contained in:
Sorin Ionescu 2011-12-28 11:19:17 -05:00
parent 97f6134cdd
commit fad255805a

View File

@ -1,4 +1,4 @@
# Open the node api for your current version to the optional section.
# TODO: Make the sections easier to use.
open "http://nodejs.org/docs/$(node --version)/api/all.html#${1}"
open "http://nodejs.org/docs/$(node --version | sed 's/-.*//')/api/all.html#${1}"