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