a34c080d77 
								
							
								 
							
						 
						
							
							
								
								Fix nvm ls for v* numbers  
							
							... 
							
							
 
							
							Previously calling nvm ls with v* number (nvm ls v0.2)
would not return any results.
So now the v is prepended if its not already there 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0b97ee1d2a 
								
							
								 
							
						 
						
							
							
								
								Failing test for when using nvm ls with v* version  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1ded21c10d 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #383  from koenpunt/nvm-prefixed  
							
							... 
							
							
 
							
							define all functions with nvm_ prefix 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e30424d22f 
								
							
								 
							
						 
						
							
							
								
								define all functions with nvm_ prefix  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								78e7aa6b67 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #380  from koenpunt/fix-current-test  
							
							... 
							
							
 
							
							Double == causes error on travis (dash shell) 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								ae4c841742 
								
							
								 
							
						 
						
							
							
								
								Double == causes error on travis (dash shell)  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								4f9324c439 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #377  from koenpunt/remove-obscure-echo-test  
							
							... 
							
							
 
							
							Replaced echo for printf when using formatted strings 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								020f61500f 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #378  from koenpunt/ci  
							
							... 
							
							
 
							
							Added travis config, fixed tests for use on travis 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								38a0c997e2 
								
							
								 
							
						 
						
							
							
								
								Added travis config, fixed tests for use on travis  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								70f1734c12 
								
							
								 
							
						 
						
							
							
								
								updated tests for altered output  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1d40a5bc8b 
								
							
								 
							
						 
						
							
							
								
								Replaced echo for printf when using formatted strings  
							
							... 
							
							
 
							
							Updated version list, now also compatible with zsh 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								db4c582d79 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #366  from messju/nvm_version_fix  
							
							... 
							
							
 
							
							fixed nvm_version result when multiple versions match the given pattern 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e46ee7b30b 
								
							
								 
							
						 
						
							
							
								
								added test for using the latest of two versions  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f82f38be90 
								
							
								 
							
						 
						
							
							
								
								fixed nvm_version result when multiple versions match the given pattern  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3a21485050 
								
							
								 
							
						 
						
							
							
								
								Files should end in trailing newlines  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e6887d500f 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #319  from koenpunt/nvm-exec  
							
							... 
							
							
 
							
							nvm exec wrapper to execute commands with a specific node version 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								472d23b990 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #372  from koenpunt/patch-1  
							
							... 
							
							
 
							
							Use has util method and use comparison opts 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1a19de9d20 
								
							
								 
							
						 
						
							
							
								
								Use has util method and use comparison opts  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f3d1770e3e 
								
							
								 
							
						 
						
							
							
								
								nvm exec wrapper to execute commands with a specific node version  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								ba2a850253 
								
							
								 
							
						 
						
							
							
								
								Adding a CONTRIBUTING.md file  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								618a372f38 
								
							
								 
							
						 
						
							
							
								
								Unset the executable bit on nvm.sh, since it's meant to be sourced  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								a09a028c38 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #270  from hachre/patch-1  
							
							... 
							
							
 
							
							Switch from /bin/sh to /bin/bash 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								d78905988e 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #310  from danieltdt/grep-options  
							
							... 
							
							
 
							
							Overwritting GREP_OPTIONS on local script 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								8cceae3cc1 
								
							
								 
							
						 
						
							
							
								
								Overwritting GREP_OPTIONS on local script  
							
							... 
							
							
 
							
							(recommiting to automerge into current master) 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								192e381971 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #370  from jpadilla/patch-1  
							
							... 
							
							
 
							
							Detect if curl or wget is installed to download NVM_SOURCE 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								966ff0e1b0 
								
							
								 
							
						 
						
							
							
								
								Fix for running with bash, sh, and zsh  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								b90a0a811e 
								
							
								 
							
						 
						
							
							
								
								Use 2-space indentation for consistency  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								25ca41c9dc 
								
							
								 
							
						 
						
							
							
								
								Detect if curl or wget is installed  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0d44ed1126 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #364  from frasertweedale/fix/portability  
							
							... 
							
							
 
							
							Fix/portability 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								dc53a37d4f 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #277  from frasertweedale/fix/freebsd-sha1  
							
							... 
							
							
 
							
							support FreeBSD's sha1(1) for integrity checks 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								332ae1afcb 
								
							
								 
							
						 
						
							
							
								
								use a more portable release in install tests  
							
							... 
							
							
 
							
							The tests for nvm install currently install v0.8.6, which doesn't
build on FreeBSD due to Linuxisms.  Switch to a more recent version
that does work. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								9108a7f7fa 
								
							
								 
							
						 
						
							
							
								
								remove duplicate install test  
							
							... 
							
							
 
							
							`test/slow/install` is identical to `test/slow/install from source`
except in the version installed.  Remove it. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3b21b76106 
								
							
								 
							
						 
						
							
							
								
								fix install from source on FreeBSD 10  
							
							... 
							
							
 
							
							Compile with CXX=c++ on FreeBSD, as FreeBSD >= 10.0 no longer has
GCC in the base system (c++ is hardlinked to clang++ on FreeBSD 10.0
and g++ on FreeBSD < 10). 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								dcba513108 
								
							
								 
							
						 
						
							
							
								
								address remaining comments from  #363  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e6a5374bfb 
								
							
								 
							
						 
						
							
							
								
								colorize output only if echo supports it  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								8cba9c5781 
								
							
								 
							
						 
						
							
							
								
								avoid nullglob in alias command  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1d6145de5a 
								
							
								 
							
						 
						
							
							
								
								fix explicit version matching on FreeBSD  
							
							... 
							
							
 
							
							FreeBSD's regular expression library does not like the pattern used
for matching explicit version strings in `nvm_ls`.  Change the
pattern to something more specific that works on FreeBSD. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								ca0c8a7f1d 
								
							
								 
							
						 
						
							
							
								
								handle echo implementations that do not support `-e`  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								21771e7369 
								
							
								 
							
						 
						
							
							
								
								fix logic error in nvm deactivate test  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								a3331ffdb0 
								
							
								 
							
						 
						
							
							
								
								fix errors due to use of unportable == operator  
							
							... 
							
							
 
							
							The `==` operator is not defined by POSIX and many test(1) (also
spelled `[`) implementations do not support it.  Replace uses of
`==` with the POSIX-conformant `=` equality operator. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								4a5f5203d0 
								
							
								 
							
						 
						
							
							
								
								fix errors and portability issues in expr commands  
							
							... 
							
							
 
							
							Add double-quotes around all expr(1) left-hand-sides where the
argument is just a variable, to prevent syntax errors when the
variable is empty.
Also avoid the `expr match ...` variant as this is not defined in
POSIX and causes errors in some implementations, including
FreeBSD's. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								ee6d4ab074 
								
							
								 
							
						 
						
							
							
								
								fix ls command in dash  
							
							... 
							
							
 
							
							The `colorize_version` command fails in dash (default /bin/sh on
Ubuntu) with an error like:
  local: v0.2.3: bad variable name
Instead of using a local variable, interpolate the function argument
directly to avoid the error. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								8925419e90 
								
							
								 
							
						 
						
							
							
								
								tests: avoid reliance on nullglob  
							
							... 
							
							
 
							
							Some shells do not have a nullglob feature, including dash (default
/bin/sh on Ubuntu) and the Almquist shell (default /bin/sh on
FreeBSD).  An mv(1) command in setup_dir is failing due to a glob
not matching anything, so use a more widely supported construction. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0f709eafa0 
								
							
								 
							
						 
						
							
							
								
								Missed tests  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								a9be598241 
								
							
								 
							
						 
						
							
							
								
								Remove some new bashisms  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								9a0c269713 
								
							
								 
							
						 
						
							
							
								
								Redo  https://github.com/creationix/nvm/pull/345  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0c8410fcc3 
								
							
								 
							
						 
						
							
							
								
								support FreeBSD's sha1(1) for integrity checks  
							
							... 
							
							
 
							
							In the absense of shasum(1) (which on FreeBSD is provided by Perl,
from ports) nvm falls back to sha1sum(1) which does not exist on
FreeBSD.  But FreeBSD does have sha1(1) so look for sha1(1) and use
it if present.
As part of this change, refactor the execution of the checksum
program down into nvm_checksum and also clean up some special-casing
of empty dist checksums, which is already handled by nvm_checksum. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								12d7b6fa0c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #361  from drkibitz/local-vars  
							
							... 
							
							
 
							
							Declare more variables as local 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								274652e10e 
								
							
								 
							
						 
						
							
							
								
								Fix nvm ls-remote and display uninstalled versions again.  Fixes   #359 ,  closes   #360  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								2e9558cbf9 
								
							
								 
							
						 
						
							
							
								
								Declare more variables as local  
							
							
 
							
						 
						
							12 years ago