Jordan Harband
0579718308
[Fix] install script: define `nvm_echo`
...
- refactor `echo` to use `nvm_echo`
Per 589c2377fb (r48360520)
4 years ago
nmarghetti
502089ae30
[New] install script: Allow installation from other repository also for git method
4 years ago
nmarghetti
589c2377fb
[Fix] install script: sync `nvm_download` implementation from nvm.sh
4 years ago
nmarghetti
9f3397afa4
[Tests] add `nvm_grep` to install script, fix tests
5 years ago
nmarghetti
4e9df33cb7
[New] install script: Allow installation from other repository
5 years ago
David Moles
d4eba354b5
[Fix] `install`: Ignore npm command under $NVM_DIR when checking for global modules
5 years ago
Jordan Harband
4b947ec92d
v0.37.2
5 years ago
Jordan Harband
661a702cdd
v0.37.1
5 years ago
Jordan Harband
4054bd70ce
v0.37.0
5 years ago
Jordan Harband
8debf39f24
v0.36.0
5 years ago
Jordan Harband
258938ef66
v0.35.3
5 years ago
Jordan Harband
f355b327d6
v0.35.2
6 years ago
Jordan Harband
28bc2fd991
v0.35.1
6 years ago
Jordan Harband
011810e721
v0.35.0
6 years ago
Will Papper
3cc9525dce
[Docs] [Fix] Set $NVM_DIR to ".nvm" instead of "nvm"
...
- Operating system and version: Mac OS X Mojave
- What happened? $NVM_DIR was set to nvm
- What did you expect to happen? $NVM_DIR should be set to .nvm
I added the following line from the README to my .zshrc:
```
export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
```
I couldn't figure out why nvm wasn't loading, until I realized that
`echo NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"` outputs `NVM_DIR=nvm`.
Changing the line to `export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/}.nvm"` fixed the problem. This outputs `NVM_DIR=.nvm` as expected. I tested this and the same behavior holds true in Bash as well.
6 years ago
Bastian Fuchs
45c1b84794
[Fix] Determine correct sub directory if XDG_CONFIG_HOME is set
...
With the environment variable XDG_CONFIG_HOME set, the installation
script uses the directory $XDG_CONFIG_HOME/nvm now. Before the change
the variable's value with "/nvm" cut off was used, which usually results
in an installation without any subdirectory.
6 years ago
Jordan Harband
e7a5b7992b
[meta] update repo links to point to org
6 years ago
Jordan Harband
a56c6f1485
tweak logic
7 years ago
Ahmed El Sayegh
703babe60a
[Fix] Make installation less restrictive when NVM_DIR is set
7 years ago
Jordan Harband
3d9c31d944
v0.34.0
7 years ago
Peter Dave Hello
14179bc8ce
[shellcheck] Use `-n/-z` instead of `! -z/! -n` condition
...
https://github.com/koalaman/shellcheck/wiki/SC2236
7 years ago
Paul Nickerson
caf6208dbd
`install.sh`: Print an error and exit the script if $METHOD is set to something unexpected.
7 years ago
Erik Lilja
8542df4ac5
[New] add support for `$XDG_CONFIG_HOME`
7 years ago
Spike Grobstein
9854928ba9
[New] `install.sh`: allow user to explicitly opt out of nvm adding the source string
...
this is done by checking if the user supplies `PROFILE=/dev/null` when running `install.sh`, the `nvm_detect_profile` function will not output any strings, causing `nvm_do_install` to skip adding `SOURCE_STR`.
7 years ago
Jordan Harband
93990ab7da
v0.33.11
7 years ago
Jordan Harband
177a9673a7
v0.33.10
7 years ago
Jordan Harband
1b14e6b4d9
v0.33.9
7 years ago
Brian M. Jemilo II
8b71861d06
[Fix] `install.sh`: Detect profile with $BASH_VERSION and $ZSH_VERSION
...
Using `$(basename "/$SHELL")` to detect the shell would also choose bash on mac
7 years ago
Brian M. Jemilo II
68fe26a5e4
[Fix] Add autocompletion support to zsh
...
Fixes #1707 .
7 years ago
Peter Dave Hello
37e0977e60
`install.sh`: Improve install.sh prompt output, add a newline
7 years ago
Jordan Harband
5fc8bd950d
Fix whitespace
7 years ago
Peter Dave Hello
f3076d14c9
[Fix] Add missing "command" prefixes for few commands
7 years ago
Paul Norman
d34bb3247d
`install.sh`: Don't give detached HEAD advice when installing
8 years ago
Jordan Harband
7cba6cd6d0
`install.sh`: detect a defined but nonexistent $NVM_DIR
...
(ref: #1700 )
8 years ago
Peter Dave Hello
2a8a81da94
[Fix] ShellCheck SC1117 in nvm.sh & install.sh
8 years ago
Jordan Harband
7ad6d98ced
v0.33.8
8 years ago
Jordan Harband
65f0572bdc
v0.33.7
...
Fixes
- fix unassigned variable (#1665 , #1664 )
- Fix for $path used by zsh (#1669 )
- `set -u`: ensure `NVM_USE_OUTPUT` is always set (#1671 )
- `install.sh`: Fix a bug that block that installation of node in install.sh (#1676 )
- `nvm install-latest-npm`: fix node 4-4.6
Documentation
- Make `nvm cache clear` message less ambiguous (#1644 )
- Added missing piece (#1658 )
8 years ago
Ahmad Magdy
c7ac69bfbb
Fix nvm_install_node function in install.sh script to not override the actual NODE_VERSION value
8 years ago
Jordan Harband
b546436113
v0.33.6
8 years ago
Peter Dave Hello
a461a0fffc
[Fix] install.sh shouldn't use not existed $NVM_PROFILE
8 years ago
Jordan Harband
6597e11971
v0.33.5
8 years ago
Jordan Harband
d91b6197f3
v0.33.4
8 years ago
Jordan Harband
6f19babbff
v0.33.3
8 years ago
Jordan Harband
3e1b4591bd
[New] `install.sh`: install bash_completion via script method.
...
Fixes #1588 .
8 years ago
Peter Dave Hello
248706d5f8
[New] Clean up git reflog history before git gc
8 years ago
Peter Dave Hello
38a568c9c9
[New] Add `--auto` to git gc to speed up install & upgrade
8 years ago
Peter Dave Hello
1e69c4c77d
[New] Speedup process to install nvm from git by dropping commit history
8 years ago
Jordan Harband
0a95e77000
v0.33.2
8 years ago
Peter Dave Hello
ec3ba1973a
[New] `install.sh`: Parallel script download jobs
8 years ago
Peter Dave Hello
e84bcaabdc
[Refactor] Improve profile detection in install script
8 years ago