Indrajit Raychaudhuri
f87dba9917
node: Prefer nodenv over nvm when available
...
Reverse `nodenv` vs `nvm` selection order, preferring `nodenv` instead.
For additional rationale, see: https://github.com/nodenv/nodenv/wiki/Why-nodenv%3F
4 years ago
Chris Ewald
a9369d64a8
Disable node-info output when value is system.
...
This makes the behavior consistent with rbenv and pyenv.
6 years ago
Michael Kohl
1b0d6f0aed
Make node-info work without nvm/nodenv
6 years ago
Kaleb Elwert
7d5beeab51
Add comments into each of the function files to make them easier to find
7 years ago
Jamie Rolfs
483447082b
Add nodenv support to Node.js module
...
- Implementation from https://github.com/sorin-ionescu/prezto/pull/1001
- Documentation from https://github.com/sorin-ionescu/prezto/pull/1178
8 years ago
Linh M. Tran
d020d34e59
Fix node-info to show right node version
...
Currently, node-info shows nothing if $version is different than 'none'.
10 years ago
Sorin Ionescu
a84ac5b002
Only one newline at end of file
10 years ago
Trevor Bekolay
4e4a6fcc63
Don't set node-info if version is 'none'
...
This is done to make it easier to not show node-info in themes
when no node version is currently in use. This is consistent with
how the Python module's python-info works.
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Zeh Rizzatti
185235003e
Add support for nvm
12 years ago