Jordan Harband
b6f1c156da
Use printf instead of `echo -e`
...
Fixes #446
11 years ago
Koen Punt
16c0be8314
export NVM_DIR before sourcing nvm.sh
11 years ago
Bent Cardan
13b87449e8
github raw served from new subdomain
11 years ago
Koen Punt
5342b6a04c
Emulate curl with wget
11 years ago
Koen Punt
2d0c025c49
Prevent fallback
11 years ago
Koen Punt
6ed93f4c01
Force install method by setting METHOD=git/script
11 years ago
Koen Punt
3c2719a85e
fix
11 years ago
Koen Punt
c47f03f996
Display error when unable to update
11 years ago
Koen Punt
300022642a
git, curl and wget now all in one installer
11 years ago
Koen Punt
7211c9ee29
updated output without special characters (tab; \t)
...
Omit duplicate 'finish line'
normalized indentation
11 years ago
Koen Punt
246caa8581
Updated source string, use hard path as NVM is not always installed in `$HOME/.nvm`
11 years ago
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
11 years ago
Koen Punt
d2422a623a
made NVM_DIR and NVM_SOURCE configurable using environment variables
11 years ago
Koen Punt
0787a55999
replaced fatalExit function for 'inline' exit
...
exit on errors (set -e)
simplified if for NVM_DIR and NVM_SOURCE, corrected indentation
11 years ago
Jordan Harband
3a21485050
Files should end in trailing newlines
11 years ago
Markus Z
60e66fa7be
Fixes #346
11 years ago
Mario Idival
6e1c249ecd
For zsh users
...
i use zsh and i did this update in install.sh local, is good for you too :)
12 years ago
Fraser Tweedale
ef7e3cc39a
install.sh: use a more generic SOURCE_STR
...
SOURCE_STR currently includes the value of $HOME (at install time).
Change SOURCE_STR to include a literal "$HOME" (to be expanded at
profile runtime) so that sourcing nvm will work if the user changes
their username, shares their profile, et cetera.
Also use the more portable single-square-bracket test.
12 years ago
Jordan Harband
e6116d96ab
Mentioning `install-gitless.sh` in the "no git" error message - finishing off #246 .
12 years ago
Dennis Dryden
34a067647c
Add check for git to install script.
12 years ago
Antti Vähäkotamäki
81d731d355
better guides for missing profile
12 years ago
stelcheck
c5437bb222
* NVM_TARGET renamed to NVM_DIR (this will ensure that any locally
...
* existing nvm copy will be picked up and updated)
12 years ago
Ron Korving
dc46a740a3
Fix newline issue in install.sh
12 years ago
Ron Korving
93e84a2676
Moved gitless installer into its own file.
12 years ago
Ron Korving
5a4c097aac
Install script no longer depends on git to be installed.
...
Also fixed a bug where a literal "\n" would be injected into the bash profile.
12 years ago
Chip Warden
6c57b275db
Changed git protocol from git:// to https:// to work around firewalls.
12 years ago
Ryuichi Okumura
9205ff8001
Remove `-e` option in `install.sh` script
...
The `sh` actually doesn't support `-e` option.
12 years ago
Artem
9c7da6cec3
Adding a newline before the source string in the ".bash_profile"
...
Resolved Issue #197
12 years ago
Koen Punt
dc2bf8c526
Fixed variable expansion for `SOURCE_STR`
12 years ago
Witold Szczerba
2f6b0ca9d7
Update install.sh
...
$HOME/.nvm used instead of introduced earlier NVM_TARGET.
12 years ago
Koen Punt
3c4bf80ec7
added basic install file
12 years ago
Tim Caswell
c10ca74b5b
NVM shouldn't really be a NPM module
14 years ago
Tim Caswell
924d965964
Clean up npm integration a little bit
...
Change-Id: I849f1056d0188aef264777e18270728b1535f61c
14 years ago
isaacs
b82bcfbd47
A package.json install that works.
...
It's an ugly hack, but it works.
14 years ago