Jordan Harband
c966204cd6
v0.24.1
10 years ago
Jordan Harband
d72b35b7b8
Remove external calls to `sed` using parameter filtering.
...
POSIX-compliant per http://stackoverflow.com/a/25536935/632724
Relates to #709
10 years ago
Jordan Harband
d50a0f46e9
Avoid some external calls by using case statements.
...
Relates to #709 .
10 years ago
Jordan Harband
a1a8e5a51b
Clean up logic a bit.
10 years ago
Jordan Harband
108f630732
Cache the `nvm_node_prefix` call.
10 years ago
Jordan Harband
96e73825bd
Consolidate faster default alias lookup, and use that explicit version to avoid a second default alias lookup in `nvm use default`.
...
Related to #709 .
10 years ago
Jo Liss
394e8505d9
Combine sed and grep commands
10 years ago
Jo Liss
fc86834e29
Add comment re nvm_ensure_version_installed performance
10 years ago
Jo Liss
609d9ee4ea
Improve startup performance. Closes #703
10 years ago
Pedro Costa
999c4111c1
Supresses error message on checking source options
10 years ago
HE Shi-Jun
207521d54b
support npm link
10 years ago
HE Shi-Jun
bf7bd3e793
Only filter the package npm, not any package name contains 'npm'
10 years ago
Jordan Harband
2b63f37f8d
Make `nvm_resolve_local_alias` not return `N/A` - that should be done as shallowly as possible.
10 years ago
Jordan Harband
230b479648
Making `help` error output actually output to stderr consistently.
10 years ago
Jordan Harband
5802ac3ea7
v0.24.0
10 years ago
Jordan Harband
8ae7a37d43
Fix bare `nvm use` when `nvm_ls_current` is "none".
10 years ago
Sayanee
16a730f4cc
amend all variables nvm_arch to capitalise
10 years ago
Sayanee
f8064b259d
fix: if case and capitalising variable
10 years ago
Sayanee
f8ee25ab5b
fix: local declaration of ksh compatibility
10 years ago
Sayanee
fb48129cd4
add support for node builds for armv6l named as arm-pi
10 years ago
Sayanee
9e154b159e
fix: download url for iojs armv6l and armv7l. #678 #227
10 years ago
Jordan Harband
fb853614a7
Use `nvm_ensure_version_installed` to consistently check if a version is installed.
...
Fixes #675 .
10 years ago
Jordan Harband
0d9329435c
Create `nvm_ensure_version_installed`
10 years ago
Jordan Harband
6c1a310846
Fix `nvm_resolve_alias default` from 7d22e0c458
10 years ago
Jordan Harband
7d22e0c458
Separate `nvm_resolve_alias`'s `nvm_version` behavior into `nvm_resolve_local_alias`.
10 years ago
Jordan Harband
cd481ff548
When none of the directories exist, don't `find` within them.
10 years ago
Jordan Harband
12ca8f2607
Add `nvm_is_alias` unit tests.
...
Fixes 670.
10 years ago
Jordan Harband
820074e1d7
Make sure checksum commands are not aliases.
...
Fixes #659 , #420 , #640 .
10 years ago
Jordan Harband
3190effedd
Add support for `node` and `iojs` implicit aliases.
10 years ago
Jordan Harband
d0617b5b79
Suppressing extraneous output from #622 .
10 years ago
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