Commit Graph

199 Commits (4846d57c69fc62f7673a59dc34a21fb1ef669098)

Author SHA1 Message Date
Jordan Harband 65f0572bdc
v0.33.7
Fixes
 - fix unassigned variable (#1665, #1664)
 - Fix for $path used by zsh (#1669)
 - `set -u`: ensure `NVM_USE_OUTPUT` is always set (#1671)
 - `install.sh`: Fix a bug that block that installation of node in install.sh (#1676)
 - `nvm install-latest-npm`: fix node 4-4.6

Documentation
 - Make `nvm cache clear` message less ambiguous (#1644)
 - Added missing piece (#1658)
2017-12-08 21:21:42 -08:00
Ahmad Magdy c7ac69bfbb Fix nvm_install_node function in install.sh script to not override the actual NODE_VERSION value 2017-11-30 14:47:42 +01:00
Jordan Harband b546436113
v0.33.6 2017-10-23 23:53:26 -07:00
Peter Dave Hello a461a0fffc [Fix] install.sh shouldn't use not existed $NVM_PROFILE 2017-10-04 10:10:47 +08:00
Jordan Harband 6597e11971
v0.33.5 2017-09-29 12:50:27 -04:00
Jordan Harband d91b6197f3
v0.33.4 2017-09-04 22:59:50 -07:00
Jordan Harband 6f19babbff
v0.33.3 2017-09-03 12:46:59 -07:00
Jordan Harband 3e1b4591bd
[New] `install.sh`: install bash_completion via script method.
Fixes #1588.
2017-08-08 10:11:41 -07:00
Peter Dave Hello 248706d5f8
[New] Clean up git reflog history before git gc 2017-07-14 00:37:58 +08:00
Peter Dave Hello 38a568c9c9
[New] Add `--auto` to git gc to speed up install & upgrade 2017-07-11 09:19:02 +08:00
Peter Dave Hello 1e69c4c77d
[New] Speedup process to install nvm from git by dropping commit history 2017-04-02 15:49:01 +08:00
Jordan Harband 0a95e77000
v0.33.2 2017-04-26 00:50:33 -07:00
Peter Dave Hello ec3ba1973a
[New] `install.sh`: Parallel script download jobs 2017-04-05 04:54:38 +08:00
Peter Dave Hello e84bcaabdc
[Refactor] Improve profile detection in install script 2017-04-03 23:06:04 +08:00
Peter Dave Hello 3f5fd57881
[Refactor] Reduce a sed command with pipe 2017-04-05 04:58:34 +08:00
Peter Dave Hello f524bcb973
[Fix] Correct indent in install.sh 2017-04-05 05:01:54 +08:00
Peter Dave Hello 6a3b1dd2c3 [New] Enable curl auto compression/decompression
Enable `--compressed` parameter on curl to automatically enable
compression on request content by sending coressponding header, if the
server side supports compression format like deflate or gzip, curl will
also decompress the content automatically, so there is no additional
works need to done manually on client side, but just enjoy the benifits
of bandwidth and time saving!

Take https://nodejs.org/dist/index.tab as an example which is last
modified on Tue, 14 Mar 2017 22:41:05 GMT, the compressed transmission
only take 4829 bytes howevet the not compressed on taks 48000 bytes,
which is about 10 times larger!

This feature can be traced back to Sep 3 2002, in curl commit:
 - 64bbe9dfaf

So should be supported on various versions widely.
2017-03-23 16:51:20 +08:00
Peter Dave Hello 911ff87601 [Fix] bash_completion source prompt, remove && 2017-03-15 14:34:28 +08:00
Peter Dave Hello 9593616b8c [Fix] NVM_PROFILE bash/zsh detection in installation 2017-03-15 14:34:28 +08:00
Jordan Harband 6669e91bd8
v0.33.1 2017-02-20 17:59:20 -08:00
Jordan Harband 6fc0241c21
[Fix] `install.sh`: only un-interpolate $HOME for the profile source string.
Fixes #1384.
2017-02-12 00:32:49 -08:00
Ryan Wheale 1b2305232f
[install script] Use `$HOME` variable in `NVM_DIR` 2017-01-12 10:55:56 -07:00
Jordan Harband 40e40975eb
v0.33.0 2016-12-29 21:22:13 -10:00
Peter Dave Hello 7ed1e71944
[Refactor] Add missing backslash for dots
Related: #1279, 2a2b8bd, cadbbce
2016-11-24 13:47:20 +08:00
Peter Dave Hello 1ffa41886a
[New] Install bash programmble completions automatically 2015-05-23 14:07:34 +08:00
Peter Dave Hello fd33179119 Revert "Also run git gc after nvm upgraded"
This reverts commit ce7f6d6e52.
2016-11-14 06:19:29 +08:00
Qiangjun Ran 2a2b8bdeb3
[Robustness] use backslash when sourcing in case of overridden dot
Fixes #1278.
2016-11-03 23:44:20 -07:00
Peter Dave Hello a458ccbb87 Retab tab to 4 spaces and use echo instead of cat in install.sh 2016-10-29 11:17:54 +08:00
Peter Dave Hello ce7f6d6e52
Also run git gc after nvm upgraded 2016-10-28 09:08:54 +08:00
Jordan Harband 589a9112bd
v0.32.1 2016-10-18 13:16:51 -07:00
Peter Dave Hello 68761c3200 Manually run git gc after nvm installation, fix #1226 2016-09-17 13:24:04 +08:00
Jordan Harband 63fe22d635
v0.32.0 2016-09-15 15:02:56 -07:00
Jordan Harband 25fa40e7cb
v0.31.7 2016-09-02 23:43:04 -07:00
Jordan Harband 68bf93514b
[Fix] when originally installed without git, ensure it can be upgraded to use git.
Fixes #1212. Closes #1213.
2016-08-25 00:59:32 -07:00
Jordan Harband 85c5e12710 [Refactor] `install.sh`: use curlies in a few places. 2016-08-24 00:50:08 -07:00
Jordan Harband 31c68adbcf
v0.31.6 2016-08-23 14:36:15 -07:00
Aria Stewart 451b67fe78 Revert %s-formatting for SOURCE_STR when writing to shell profile 2016-08-23 17:32:28 -04:00
Jordan Harband d179810b25
v0.31.5 2016-08-23 11:12:21 -07:00
Jordan Harband 681c81ad30 [shellcheck] clean up `install.sh` 2016-08-23 00:45:38 -07:00
Peter Dave Hello 364096a3c3 Add trailing newline char to $SOURCE_STR
Line 302/301 `printf "$SOURCE_STR"` is missing a trailing newline char,
while line 281/282 and 285/286 have their own new line char, so I  just
remove the manually added newline char, and add it to the end of the
variable "$SOURCE_STR", so no more manually newline char needed there.
2016-08-05 15:52:01 +08:00
Peter Dave Hello 88fc93a71b Fix nvm dir path in install script, fix #1189 2016-08-05 15:23:09 +08:00
Jordan Harband 31e58d1827
v0.31.4 2016-07-29 16:54:13 -07:00
Luke Childs 978f7b4435 Only source nvm, not entire profile 2016-07-27 22:44:51 +01:00
Luke Childs 3417e9d9a3 Add message explaining how to use nvm 2016-07-27 22:39:50 +01:00
Luke Childs eb4de62bc1 Remove incorrect message 2016-07-27 21:43:13 +01:00
Jordan Harband 56417f88f9
v0.31.3 2016-07-20 00:51:48 -07:00
Owen Smith 8c8bf1204c [Fix] install should not exit after successful git clone
Fixes #1146 by grouping the commands that handle the error.

I also removed a subshell wrapper from a similar set of lines right
above. It looks to me like that is no longer necessary.
2016-07-05 22:03:52 -07:00
Mohit Agarwal 322d81d75f use git options instead of cd in install script 2016-07-06 01:26:06 +05:30
Jordan Harband 43c3c23928 [Fix] install script: remove more unnecessary `cd`ing.
Fixes #1137.
2016-06-30 13:26:31 -07:00
Jordan Harband cb4e010de7 [Fix] install script: Don’t attempt to `cd` twice.
Fixes #1137.
2016-06-30 13:04:45 -07:00