5bc6e289ce 
								
							
								 
							
						 
						
							
							
								
								Silencing nvm_version_path error output in nvm_print_versions  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								d0c6b87b2e 
								
							
								 
							
						 
						
							
							
								
								Use `nvm_alias` in `nvm alias`  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								66b214651f 
								
							
								 
							
						 
						
							
							
								
								Add `nvm_alias` and unit tests.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								acfc459bc5 
								
							
								 
							
						 
						
							
							
								
								Adding notes to the README for "stable", "unstable", and "system".  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								fc16d20766 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #537  from ljharb/add_stable_unstable_aliases  
							
							... 
							
							
 
							
							Add stable & unstable aliases.
Fixes  #336 .
With these changes, the following `nvm` commands will now support "stable" and "unstable" default/implicit aliases:
 - `ls`/`list`
 - `use`
 - `alias`
 - `run`
 - `exec`
 - `uninstall`
 - `copy-packages`
For these, "stable" will be the latest even minor version that's locally installed; "unstable" will be the latest odd minor version that's locally installed.
In addition, `nvm ls-remote` and `nvm install` will accept the same implicit aliases, however, these will actually call nodejs.org and output the latest even and odd minor versions available for installation.
`nvm alias stable foo` and `nvm alias unstable foo` will *override* the default/implicit aliases. `nvm alias` output will reflect this by showing "(default)" when the alias is not user-defined. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								f0471acbf5 
								
							
								 
							
						 
						
							
							
								
								v0.17.2  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								fda05fb64b 
								
							
								 
							
						 
						
							
							
								
								Remove trailing whitespace.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								2737a95645 
								
							
								 
							
						 
						
							
							
								
								Create nvm_ensure_version_prefix, and make nvm_format_version actually format the version.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								5706aef3d0 
								
							
								 
							
						 
						
							
							
								
								nvm_format_version: add unit tests.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								4cdf356cdc 
								
							
								 
							
						 
						
							
							
								
								Support `nvm ls-remote stable` and `nvm ls-remote unstable`  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								c918e570b6 
								
							
								 
							
						 
						
							
							
								
								Add support for `nvm ls stable` and `nvm ls unstable`  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								5dc7af6285 
								
							
								 
							
						 
						
							
							
								
								Make `nvm alias` list implicit "stable" and "unstable" aliases when they're not already aliases.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								f9565ff675 
								
							
								 
							
						 
						
							
							
								
								Adding nvm_print_implicit_alias success tests  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								cea0e88489 
								
							
								 
							
						 
						
							
							
								
								Adding nvm_print_implicit_alias error tests.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								5aad535d53 
								
							
								 
							
						 
						
							
							
								
								Adding nvm_print_implicit_alias  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								fcdd1ef431 
								
							
								 
							
						 
						
							
							
								
								Add nvm_validate_implicit_alias  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								cd4fc8fb2c 
								
							
								 
							
						 
						
							
							
								
								Adding unit tests for `nvm_ls_remote`  
							
							... 
							
							
 
							
							`nvm_download` is stubbed, to avoid making network calls. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								050a2ee9d3 
								
							
								 
							
						 
						
							
							
								
								nvm_remote_version: add unit tests  
							
							... 
							
							
 
							
							`nvm_ls_remote` is stubbed out to avoid making network calls here. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								ff92ba7f43 
								
							
								 
							
						 
						
							
							
								
								Silence more secondary "deactivate" output.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								804f2759f8 
								
							
								 
							
						 
						
							
							
								
								Ensure that `nvm use` works when .nvmrc contains "system"  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								d5fe657382 
								
							
								 
							
						 
						
							
							
								
								Ensure `nvm_rc_version` always modifies $NVM_RC_VERSION, rather than retaining its value from previous runs.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								3e4613fd66 
								
							
								 
							
						 
						
							
							
								
								Don't output `nvm deactivate` output when running `nvm use system`  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								9aec19a692 
								
							
								 
							
						 
						
							
							
								
								Update bash completion commands for nvm  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								b707d8b072 
								
							
								 
							
						 
						
							
							
								
								nvm_ls: format the version immediately, so that `nvm ls 0.0.1` doesn't return `nvm ls 0.0.10`  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								be605cb12b 
								
							
								 
							
						 
						
							
							
								
								Adding a failing test: `nvm ls 0.0.x` includes `v0.0.xy`  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								3c66c20570 
								
							
								 
							
						 
						
							
							
								
								Improving "nvm alias" tests to test for all cases.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								59bfdb9863 
								
							
								 
							
						 
						
							
							
								
								Making sure fast alias tests do their own teardown.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								25bd2bb018 
								
							
								 
							
						 
						
							
							
								
								Make `nvm ls-remote` return nvm_ls_remote's exit code.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								4a8a5a1180 
								
							
								 
							
						 
						
							
							
								
								Shell-quoting some more things.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								145da7eef8 
								
							
								 
							
						 
						
							
							
								
								v0.17.1  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								4cf56ae186 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary local var declaration.  Fixes   #535  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								5ad00f13fa 
								
							
								 
							
						 
						
							
							
								
								Suppress error messages in case there's no `master` branch.  
							
							... 
							
							
 
							
							Fixes  #533 . 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								53f9841c6c 
								
							
								 
							
						 
						
							
							
								
								v0.17.0  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								444efdb08b 
								
							
								 
							
						 
						
							
							
								
								Adding some more quotes and $()  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								6fde379707 
								
							
								 
							
						 
						
							
							
								
								Use _ instead of ~ as a sentinel  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								ce69c8413e 
								
							
								 
							
						 
						
							
							
								
								More shellcheck recommendations  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								51f6109f8d 
								
							
								 
							
						 
						
							
							
								
								Use $() instead of backticks; add quotes  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								4f081ce4be 
								
							
								 
							
						 
						
							
							
								
								Collapsing some if/else conditions with elif  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								db0051753a 
								
							
								 
							
						 
						
							
							
								
								Compare shell variable contents with a sentinel.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								cf1110ecea 
								
							
								 
							
						 
						
							
							
								
								Quote $NVM_DIR in commands  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								34b97bf76d 
								
							
								 
							
						 
						
							
							
								
								Adding shell var quotes in `nvm alias`  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								b962a590a2 
								
							
								 
							
						 
						
							
							
								
								Removing an extra mkdir -p  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								ddb25ed5a3 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #530  from creationix/copy_packages_from_on_install  
							
							... 
							
							
 
							
							nvm install: Add --copy-packages-from option 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								486d14f5f8 
								
							
								 
							
						 
						
							
							
								
								Copy packages when applicable, whenever `nvm install` would normally `nvm use` and exit.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								622fdd2cd0 
								
							
								 
							
						 
						
							
							
								
								Error out early if the --copy-packages-from version is invalid.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								eddbe15ee8 
								
							
								 
							
						 
						
							
							
								
								Extract --copy-packages-from argument.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								2e161fe414 
								
							
								 
							
						 
						
							
							
								
								nvm install: Remove this redundant "already installed" check.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								a42b90d215 
								
							
								 
							
						 
						
							
							
								
								Adding some helpful output to `nvm copy-packages`  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								6bae6c07f2 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #528  from creationix/remove_last_expr  
							
							... 
							
							
 
							
							Remove last usages of `expr` 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								7fd6d05426 
								
							
								 
							
						 
						
							
							
								
								Instead of using expr to check if paths need cleaning, compare cleaned paths to original paths and export appropriately.  
							
							
 
							
						 
						
							11 years ago