Jordan Harband
286c808739
Cache values in local variables to avoid repeated lookups.
10 years ago
Jordan Harband
be56ff3b2e
Make sure multiple `nvm run` arguments get passed through to node/iojs properly.
...
Fixes #641 .
10 years ago
Jordan Harband
59e27f8108
Prevent `VERSION=''` output caused by double local declaration.
...
Fixes #644 .
10 years ago
Jordan Harband
0f1f3ed29c
v0.23.3
10 years ago
Jordan Harband
2116d2ff91
Filter out the io.js version dir from nvm_ls output.
...
Fixes #642 .
10 years ago
Jordan Harband
0b4c1e14cf
Ensure that `nvm run 0.12 --version` errors out sensibly when 0.12 isn't installed.
10 years ago
Jordan Harband
e1b7496cf0
Add nvm_is_valid_version
10 years ago
Jordan Harband
8a87133f71
When there's no `nvm run` output, don't echo an empty line.
10 years ago
Jordan Harband
0792945824
Bypass sha1sum/sha1 aliases. Fixes #640 .
10 years ago
Jordan Harband
a6819b3018
Fix `nvm ls v1.0.3` so that it locates `iojs-v1.0.3`.
...
Also fix `nvm uninstall v1.0.3` so it won't uninstall it if it's the current version.
node versions will still take priority if there's ever a version overlap.
10 years ago
Jordan Harband
1eaf6b53e4
v0.23.2
10 years ago
Jordan Harband
24c60e4e51
Fix a bug in nvm_remote_version that was breaking `nvm install stable`/`nvm install unstable`.
...
Fixes #630 .
10 years ago
Jordan Harband
8822bd719a
v0.23.1
10 years ago
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