Indrajit Raychaudhuri
f84075b8d4
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
2021-05-21 13:39:23 -05:00
Chris Ewald
1f4601e44c
Disable node-info output when value is system.
...
This makes the behavior consistent with rbenv and pyenv.
2019-03-18 00:10:32 -05:00
Michael Kohl
e064d5c65f
Make node-info work without nvm/nodenv
2018-08-01 13:50:20 -04:00
Kaleb Elwert
7d5beeab51
Add comments into each of the function files to make them easier to find
2017-07-06 16:13:36 -07:00
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
2017-04-04 21:26:33 -07:00
Linh M. Tran
d020d34e59
Fix node-info to show right node version
...
Currently, node-info shows nothing if $version is different than 'none'.
2014-10-19 17:21:54 +07:00
Sorin Ionescu
a84ac5b002
Only one newline at end of file
2014-10-09 23:38:15 -04:00
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>
2014-10-05 21:22:38 -04:00
Zeh Rizzatti
185235003e
Add support for nvm
2013-01-29 13:43:06 -05:00