Koen Punt
bce3abaa4b
use comparison opts
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
fcc00b22b7
don't make use of pushd and popd as they are not universal
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
José Padilla
966ff0e1b0
Fix for running with bash, sh, and zsh
11 years ago
José Padilla
b90a0a811e
Use 2-space indentation for consistency
11 years ago
José Padilla
25ca41c9dc
Detect if curl or wget is installed
11 years ago
Fraser Tweedale
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.
11 years ago
stelcheck
d428bcd50e
* TARGET was not converted to DIR
12 years ago
stelcheck
f82cde11a9
* Using raw.github.com instead, downloading only nvm.sh
...
* tar no longer required
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