Tobias Witt
b5d9e547f2
Use `tee` to replace the alias files content instead of `>`
...
As mentioned in #615 it is possible to configure `>` to not override
existing files by default. `tee` is a standard tool that can be used
shell independent.
10 years ago
Jordan Harband
dd146519a2
Improve `nvm use` success output for io.js.
...
Fixes #623
10 years ago
Jordan Harband
7243bd77d3
Refactor and create `nvm_remote_versions` and `nvm_remote_version`.
...
Fixes #620 - an oh-my-zsh issue where `nvm install v1` didn't work.
10 years ago
Jordan Harband
7d113a2b2f
Inline this use of `nvm_remote_version`
10 years ago
Jordan Harband
17df0b9912
Moving the N/A check earlier in `nvm install`
10 years ago
Jordan Harband
9ee864b06f
Remove unused variables.
10 years ago
Jordan Harband
43a7d78693
v0.23.0
10 years ago
Jordan Harband
ea12784629
Clean up `nvm ls-remote` behavior when one of node/iojs reports N/A.
...
This change:
- removes a superfluous N/A
- fixes the exit code to return 0 unless no version is found
- enables `nvm install v1` and similar patterns.
10 years ago
Jordan Harband
f1f11e3b7a
Ensure `nvm_version node` and `nvm_version node-` report the latest stable node version.
10 years ago
Jordan Harband
247bd310ef
Clean up `nvm uninstall node` and `nvm uninstall iojs` behavior.
10 years ago
Jordan Harband
dbeeb683da
Fix `nvm_strip_path` for >= v0.12.0 node, and all io.js versions.
10 years ago
Jordan Harband
39a75e616d
Add support for `nvm use node`, `nvm use iojs`, `nvm ls node`, and `nvm ls iojs`
...
Also add `nvm_version node` and `nvm_version iojs` support.
10 years ago
Jordan Harband
3cf68dc18d
Add `nvm_has_system_iojs`
10 years ago
Jordan Harband
ed22d3de2d
Add support for `nvm install node` and `nvm install iojs`
10 years ago
Jordan Harband
448bd38a55
v0.22.2
10 years ago
Jordan Harband
0ad5a450fe
Put node versions >= 0.12 in `versions/node` instead of just `versions`
10 years ago
Jordan Harband
797c5ab70b
Move "install node from source" logic into `nvm_install_node_source` function.
10 years ago
Jordan Harband
952096d034
Add iojs support to "install"
10 years ago
Jordan Harband
dd3a3763ce
Add `io.js` support to `nvm uninstall`
10 years ago
Jordan Harband
41c379839d
Make sure `nvm run` works with iojs prefixes.
10 years ago
Jordan Harband
d9340b6a53
io.js does not have a SunOS binary.
10 years ago
Jordan Harband
b0d6c05d6e
Make `nvm ls-remote iojs [foo]` only show iojs versions, and `nvm ls-remote node [foo]` only show node versions.
10 years ago
Jordan Harband
0e209ce890
Move "install node binary" logic into `nvm_install_node_binary` function.
10 years ago
Jordan Harband
9a57a891b9
Refactor OS and architecture detection into separate functions.
10 years ago
Jordan Harband
58ab2c3128
Add iojs support to `nvm_remote_version`
10 years ago
Jordan Harband
d70f0357f5
Add `nvm_ls_remote_iojs` and `nvm ls-remote` support for iojs.
10 years ago
Jordan Harband
5143de9653
Make `nvm_ls_current` work with `iojs`-prefixed versions.
10 years ago
Jordan Harband
5c336a7ccb
Make `nvm_print_versions` support iojs via `nvm_version_path`.
10 years ago
Jordan Harband
3d5ded1815
Update the way `nvm_ls` sorts things.
10 years ago
Jordan Harband
f661617f1c
Make `nvm_ls foo` work with `iojs`-prefixed version strings.
10 years ago
Jordan Harband
d28703f9e0
Update `nvm_ensure_version_prefix` to support `iojs`-prefixed version strings.
10 years ago
Jordan Harband
b7983842aa
Add `nvm_add_iojs_prefix`
10 years ago
Jordan Harband
c12104cecd
Add `nvm_strip_iojs_prefix`
10 years ago
Jordan Harband
98e0655198
Add `nvm_is_iojs_version`
10 years ago
Jordan Harband
c46748a379
Add `nvm_node_prefix`
10 years ago
Jordan Harband
8be97c8abb
Add `nvm_iojs_prefix`
10 years ago
Jordan Harband
7807a9f09e
Consolidate "alias" directory to a method.
10 years ago
Jordan Harband
835c006b5e
Better way to search multiple directories in `nvm_ls`
10 years ago
Jordan Harband
3fa11c35cb
Add io.js support to `nvm_version_dir`
10 years ago
Jordan Harband
34e51f9f02
Proper quoting and $(…) vs `…`.
10 years ago
Jordan Harband
4b5885d69d
Store the version path in a local variable for reuse.
10 years ago
Jordan Harband
bf794ff8da
Consistently prefix builtins with `command`
10 years ago
Jordan Harband
0bd7372c64
Rename this local var in `nvm_version_dir`
10 years ago
Jordan Harband
0a142b7e7a
v0.22.1
10 years ago
Jordan Harband
3fc82d6b2f
Use `command sed` for people who alias `sed`.
...
Fixes #493 .
10 years ago
niris
3f5ce8b93a
Fix which command in zsh ( #604 ).
10 years ago
Jordan Harband
c91e8d0ba2
v0.22.0
10 years ago
Jordan Harband
9a4e9060d8
Don't bother testing --install option on source, or supporting it, unless the shell supports passing options upon sourcing.
10 years ago
Jordan Harband
3df0caefa5
Support `--install` option upon sourcing.
10 years ago
Jordan Harband
bef3a5ce3a
v0.21.0
10 years ago