visionmedia/n — pull request #80 by DamonOehlman (2012-07-24 07:28:49+00:00)
Title: --active flag

Hey TJ,

Completely up to you mate, but I've added this into my local version of the n script so I can include the n specific bin folder into my path environment in console init scripts, like so:

```
export NODE_VERSION=`/usr/local/bin/n --active`
export PATH=/usr/local/n/versions/$NODE_VERSION/bin:$PATH
```

I know it really doesn't do much, as once I understood what you were doing with n it was simple enough to replicate without using the n --active flag:

```
export NODE_VERSION=`/usr/local/bin/node --version`
export PATH=/usr/local/n/versions/${NODE_VERSION#v}/bin:$PATH
```

Cheers,
Damon.