Commit Graph

2179 Commits (294ff9e3aa8ce02bbf8d83fa235a363d9560a179)

Author SHA1 Message Date
Koen Punt 9f6280265a updated README 2014-03-25 20:52:30 +01:00
Koen Punt 7211c9ee29 updated output without special characters (tab; \t)
Omit duplicate 'finish line'
normalized indentation
2014-03-25 20:51:39 +01:00
Koen Punt 246caa8581 Updated source string, use hard path as NVM is not always installed in `$HOME/.nvm` 2014-03-25 20:51:39 +01:00
Koen Punt 1fac49f887 replaced undocumented option for specifying the profile as first argument to specifying it as a environment variable (eg: PROFILE=~/.myprofile ./install-gitless.sh)
also; fixed indentation and added .zshrc as possible profile
2014-03-25 20:51:39 +01:00
Koen Punt d2422a623a made NVM_DIR and NVM_SOURCE configurable using environment variables 2014-03-25 20:51:39 +01:00
Koen Punt fcc00b22b7 don't make use of pushd and popd as they are not universal 2014-03-25 20:51:39 +01:00
Koen Punt 0787a55999 replaced fatalExit function for 'inline' exit
exit on errors (set -e)
simplified if for NVM_DIR and NVM_SOURCE, corrected indentation
2014-03-25 20:51:39 +01:00
Jordan Harband 7c45d62b37 Merge pull request #388 from koenpunt/small-fixes
Use NVM_ prefix for non local variables
2014-03-23 11:56:09 -07:00
Koen Punt 703acb0514 Added test for nvm unload 2014-03-23 16:44:40 +01:00
Koen Punt 744507b83e added nvm unload method to remove nvm from shell 2014-03-23 16:44:37 +01:00
Koen Punt ec7909dcd3 Use NVM_ prefix for variables 2014-03-23 16:42:38 +01:00
Jordan Harband cf5f195d75 Merge pull request #387 from koenpunt/patch-1
Add travis badge to README
2014-03-22 14:00:46 -07:00
Koen Punt 9f0520cdd0 Add travis badge to README 2014-03-22 21:19:43 +01:00
Jordan Harband d950c1a0ea Adding a trailing newline 2014-03-22 13:10:18 -07:00
Jordan Harband 6123fbcd31 Merge pull request #386 from koenpunt/multi-shell-test
Add Makefile for multishell testing
2014-03-22 13:08:50 -07:00
Koen Punt def7ec5364 install shells before running tests 2014-03-22 18:51:39 +01:00
Koen Punt 52a384a0cc Add Makefile for multishell testing
updated nvm current test for zsh
2014-03-22 18:47:15 +01:00
Jordan Harband ba1e2f1cdf Merge pull request #382 from koenpunt/version-normalizing
Fix nvm ls for v* numbers
2014-03-21 09:30:19 -07:00
Jordan Harband 625e54880f Merge pull request #374 from koenpunt/fix-tests
Fix NVM_DIR discovery
2014-03-21 09:27:13 -07:00
Jordan Harband cebda7d35a When curl is not present, immediately bail out of `nvm install` with a nonzero exit code. Fixes #385. 2014-03-21 09:23:30 -07:00
Koen Punt 4a9a15c404 Fix NVM_DIR discovery 2014-03-21 10:03:16 +01:00
Jordan Harband 31c5406780 Adding an `nvm --version` command 2014-03-20 23:21:01 -07:00
Koen Punt 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
2014-03-18 10:53:57 +01:00
Koen Punt 0b97ee1d2a Failing test for when using nvm ls with v* version 2014-03-18 10:49:44 +01:00
Jordan Harband 1ded21c10d Merge pull request #383 from koenpunt/nvm-prefixed
define all functions with nvm_ prefix
2014-03-17 18:07:00 -07:00
Koen Punt e30424d22f define all functions with nvm_ prefix 2014-03-18 01:41:02 +01:00
Jordan Harband 78e7aa6b67 Merge pull request #380 from koenpunt/fix-current-test
Double == causes error on travis (dash shell)
2014-03-17 12:05:26 -07:00
Koen Punt ae4c841742 Double == causes error on travis (dash shell) 2014-03-17 19:44:40 +01:00
Jordan Harband 4f9324c439 Merge pull request #377 from koenpunt/remove-obscure-echo-test
Replaced echo for printf when using formatted strings
2014-03-17 10:02:54 -07:00
Jordan Harband 020f61500f Merge pull request #378 from koenpunt/ci
Added travis config, fixed tests for use on travis
2014-03-17 09:59:42 -07:00
Koen Punt 38a0c997e2 Added travis config, fixed tests for use on travis 2014-03-17 14:33:25 +01:00
Koen Punt 70f1734c12 updated tests for altered output 2014-03-17 13:24:24 +01:00
Koen Punt 1d40a5bc8b Replaced echo for printf when using formatted strings
Updated version list, now also compatible with zsh
2014-03-17 13:19:39 +01:00
Jordan Harband db4c582d79 Merge pull request #366 from messju/nvm_version_fix
fixed nvm_version result when multiple versions match the given pattern
2014-03-15 13:17:36 -07:00
messju mohr e46ee7b30b added test for using the latest of two versions 2014-03-15 20:42:38 +01:00
messju mohr f82f38be90 fixed nvm_version result when multiple versions match the given pattern 2014-03-15 20:42:38 +01:00
Jordan Harband 3a21485050 Files should end in trailing newlines 2014-03-15 11:41:50 -07:00
Jordan Harband e6887d500f Merge pull request #319 from koenpunt/nvm-exec
nvm exec wrapper to execute commands with a specific node version
2014-03-15 11:40:02 -07:00
Jordan Harband 472d23b990 Merge pull request #372 from koenpunt/patch-1
Use has util method and use comparison opts
2014-03-15 10:48:41 -07:00
Koen Punt 1a19de9d20 Use has util method and use comparison opts 2014-03-15 15:59:46 +01:00
Koen Punt f3d1770e3e nvm exec wrapper to execute commands with a specific node version 2014-03-15 15:58:32 +01:00
Jordan Harband ba2a850253 Adding a CONTRIBUTING.md file 2014-03-14 23:21:31 -07:00
Jordan Harband 618a372f38 Unset the executable bit on nvm.sh, since it's meant to be sourced 2014-03-14 22:10:52 -07:00
Jordan Harband a09a028c38 Merge pull request #270 from hachre/patch-1
Switch from /bin/sh to /bin/bash
2014-03-14 22:10:07 -07:00
Jordan Harband d78905988e Merge pull request #310 from danieltdt/grep-options
Overwritting GREP_OPTIONS on local script
2014-03-14 13:10:56 -07:00
Daniel Teixeira 8cceae3cc1 Overwritting GREP_OPTIONS on local script
(recommiting to automerge into current master)
2014-03-14 14:58:51 -03:00
Jordan Harband 192e381971 Merge pull request #370 from jpadilla/patch-1
Detect if curl or wget is installed to download NVM_SOURCE
2014-03-13 14:26:44 -07:00
José Padilla 966ff0e1b0 Fix for running with bash, sh, and zsh 2014-03-13 10:31:34 -04:00
José Padilla b90a0a811e Use 2-space indentation for consistency 2014-03-12 14:33:00 -04:00
José Padilla 25ca41c9dc Detect if curl or wget is installed 2014-03-12 09:07:48 -04:00