Peter Dave Hello
6cb12b0f99
[Performance] Improve awk usage
8 years ago
Peter Dave Hello
6ed73b0696
[Refactor] Improve sed usage for performance
8 years ago
Shirsh Zibbu
dcd008ff61
[Refactor] remove unnecessary quotes
8 years ago
Peter Dave Hello
039afb9470
[Docs] Update Installation section
...
1. If we are not going to install nodejs or io.js from source, we may
not need to have c++ compiler or libssl-dev package
2. the `build-essential` and `libssl-dev` packages should work on all
the Debian and Ubuntu based GNU/Linux distros
3. Remove useless blank lines
8 years ago
Peter Dave Hello
b879628394
[Fix] declare MANPATH if and only if it's not set
...
By manpath's man page in Ubuntu 16.04:
> If $MANPATH is set, manpath will simply display its contents and issue
> a warning.
By fa22d712ff
for #1413 , `nvm` now will
declare the "MANPATH" variable, no matter if it's set or not, so in the
situation that $MANPATH is set, you'll get the warning:
> manpath: warning: $MANPATH set, ignoring /etc/manpath.config
8 years ago
Jordan Harband
9b2629384f
[Fix] `nvm install -s`: ensure additional params lack a trailing space.
...
Note: I believe this does not fix the underlying issue in zsh, which is
that it does not split up `$ADDITIONAL_PARAMETERS` and instead passes
the contents as one single argument.
8 years ago
Peter Dave Hello
50ae1e5199
[Fix] Install failed should return correct exit status, fix #1347
8 years ago
Matthew McEachen
1e6b5ce039
[Fix] stop setting mirror env vars unnecessarily
...
Fixes #1429
8 years ago
Peter Dave Hello
952d0067b3
[Fix] bash_completion should make sure nvm loaded
8 years ago
Peter Dave Hello
911ff87601
[Fix] bash_completion source prompt, remove &&
8 years ago
Peter Dave Hello
9593616b8c
[Fix] NVM_PROFILE bash/zsh detection in installation
8 years ago
Peter Dave Hello
d8538dad84
[Refactor] nvm.sh minor refactor
8 years ago
Alex Ryan
257f16fb13
[Docs] fi README typo
8 years ago
Peter Dave Hello
182a18d911
[Fix] Github should be GitHub
8 years ago
Peter Dave Hello
8e6201b5b1
[Tests] Update test mocks
8 years ago
Dominyk Tiller
b676bf7d0e
[Fix] checksums: remove libressl command support
...
This was an "oops" on my part when I was testing changes for my work
that was later adapted & merged in f1bca106a8
.
LibreSSL is never installed as a `libressl` as it is intended to be a
replacement for `openssl` as much as possible, and consequently the
executable is called `openssl`.
8 years ago
Jordan Harband
fa22d712ff
[Fix] ensure this variable is not unbound.
...
Fixes #1413 .
8 years ago
Jordan Harband
286090b607
Merge pull request #1408 from PeterDaveHello/doctoc
...
[Docs] [Tests] Introduce doctoc for "Table of Contents" autogeneration
8 years ago
Peter Dave Hello
1689b174b3
[Test] Add doctoc up-to-date test in TravisCI
8 years ago
Peter Dave Hello
f8aaa32d17
README minor adjustment, generate "Table of Content" via doctoc
8 years ago
Peter Dave Hello
3dc5777b66
Add doctoc devDependency and npm script
...
Will use it to generate "Table of Contents"
8 years ago
Jordan Harband
6669e91bd8
v0.33.1
8 years ago
John-David Dalton
7c271729ef
Enable working without tput.
8 years ago
Jordan Harband
b54e147442
[Fix] `nvm unload`: run `nvm deactivate` before unsetting everything.
...
Fixes #1399 .
8 years ago
Jordan Harband
e7e4a9b3d6
[Fix] unset `NVM_RC_VERSION` env var immediately after it’s no longer needed.
...
Relates to #1399 .
8 years ago
Jordan Harband
49e446dac1
[debug] include mirrors in `nvm debug` output.
8 years ago
Robin Schneider
1b8b7b31ed
Add CII best practices badge
...
Thanks to @ljharb for applying for it!
Related to: #1395
8 years ago
Jordan Harband
6fc0241c21
[Fix] `install.sh`: only un-interpolate $HOME for the profile source string.
...
Fixes #1384 .
8 years ago
Jordan Harband
affcc5087c
[Fix] `set -e`: `nvm install lts/something`: call `nvm_ensure_default_set` with the proper value.
...
Fixes #1394 .
8 years ago
Ryan Wheale
1b2305232f
[install script] Use `$HOME` variable in `NVM_DIR`
8 years ago
butlerx
f1a5f2a15f
[Docs] [Fix] zsh autochange: only `nvm install` if we can’t `nvm use`
8 years ago
Jordan Harband
40e40975eb
v0.33.0
8 years ago
Jordan Harband
ae8eb80d0b
`make release` should pop up the EDITOR for the annotated tag.
8 years ago
Jordan Harband
186509be24
[github] modify the issue template
8 years ago
Jordan Harband
853afbf595
Revert "Revert "[Fix] `set -u`: ensure that potentially unbound variables aren’t called unchecked.""
...
This reverts commit a8c465018e
.
Fixes #1363 .
8 years ago
Jordan Harband
a8c465018e
Revert "[Fix] `set -u`: ensure that potentially unbound variables aren’t called unchecked."
...
This reverts commit 60239e39cd
.
8 years ago
Jordan Harband
1cac5194b9
[github] Flesh out issue template a bit.
8 years ago
Peter Dave Hello
71b49f1744
Add GitHub issue template
8 years ago
Jordan Harband
60239e39cd
[Fix] `set -u`: ensure that potentially unbound variables aren’t called unchecked.
...
Fixes #1363 .
8 years ago
Jordan Harband
0f6997d90a
[Tests] remove the unused and broken `$NVM_PATH`.
8 years ago
Jordan Harband
fcd6331f09
[Fix] remove the unused and broken `$NVM_PATH`.
...
Added in 359a83e
. Fixes #1353 .
8 years ago
Peter Dave Hello
2af47b0034
[Docs] Remove mixed addtional indent in the Bash completion codeblock
8 years ago
Peter Dave Hello
7c0dc2be68
[Docs] Make the indent in readme consistenly use soft tabs
8 years ago
Peter Dave Hello
d5340539d9
[Docs] Link version badge to the release page
8 years ago
Peter Dave Hello
45771499ee
[Fix] nvm should respect CC/CXX env var
...
- Also set CC for Freebsd, not only CXX
- Also set CC=cc, CXX=c++ on Mac OS by default as upstream
Reference:
1bd871655a/configure (L16-L17)
8 years ago
Peter Dave Hello
84575cf353
[Refactor] Use "case" instead of multi "if"
8 years ago
Jordan Harband
47c60dfc1d
[Tests] add test to ensure that `nvm unload` unloads all functions.
8 years ago
Peter Dave Hello
c96c561c88
[Fix] nvm unload missed node_version_has_solaris_binary()
8 years ago
Peter Dave Hello
f29cd1a2ab
[Fix] nvm unload missed NVM_CD_FLAGS NVM_BIN NVM_MAKE_JOBS NVM_PATH
8 years ago
Peter Dave Hello
00a1ee6c4d
[Fix] nvm unload missed nvm_cache_dir() nvm_cd()
8 years ago