Open rstacruz opened 9 years ago
Hey!
Thanks. I'll look into that. I haven't yet gotten on the Io.js wagon myself, but given that it's often symlinked as node
, might make sense to open the right URLs.
Ugh, both Io.js and Node.js don't return their name on --version
. I guess that means having to check if node
is a symlink...
node --help | grep iojs
maybe?
I'd suggest against checking if node
is a symlink—it can be the case for, say, homebrew installs.
I meant checking if it symlinks to a binary named iojs
, not that it's merely a symlink. Running help before --version
would work, too.
That would actually be a bad idea too ;)
→ ls -la /usr/local/bin/iojs
lrwxr-xr-x 1 rsc brew 29 Jun 28 18:09 /usr/local/bin/iojs -> ../Cellar/iojs/2.3.1/bin/iojs
It still points to a binary named iojs
. :)
ah!
Just thought you'd know that using Nopen for bulitns (eg
:Nopen fs
) doesn't work for io.js. It'll try to look for the file for node v2.5.0 (or whatever version you're on).