Sladyn Nunes
2b5e53fcd5
[Fix] install script: check the proper version; fetch tags also
...
Co-authored-by: Sladyn Nunes <sladynnunes98@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
4 years ago
nmarghetti
502089ae30
[New] install script: Allow installation from other repository also for git method
4 years ago
nmarghetti
60e78d3ec1
[Tests] Add unit test for nvm_download
4 years ago
nmarghetti
9f3397afa4
[Tests] add `nvm_grep` to install script, fix tests
4 years ago
nmarghetti
4e9df33cb7
[New] install script: Allow installation from other repository
4 years ago
David Moles
d4eba354b5
[Fix] `install`: Ignore npm command under $NVM_DIR when checking for global modules
4 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
Brian M. Jemilo II
68fe26a5e4
[Fix] Add autocompletion support to zsh
...
Fixes #1707 .
7 years ago
Peter Dave Hello
750571056c
[Fix] Correct most of the wrong indentation
7 years ago
Peter Dave Hello
9f34b3e95c
Remove trailing space
7 years ago
Peter Dave Hello
2cd2c0f72e
Remove useless trailing newlines
7 years ago
Yannick Ihmels
7ca8acc98d
[Docs] [Tests] Add escape sequences; add test for aliased `.`
7 years ago
Ahmad Magdy
bacdd95591
Update test/install_script/nvm_install_with_node_version to use nvm ls 8 instead of grep!
7 years ago
Ahmad Magdy
4b0563093c
Add test nvm_install_with_node_version under test/install_script
7 years ago
Peter Dave Hello
9593616b8c
[Fix] NVM_PROFILE bash/zsh detection in installation
8 years ago
Jordan Harband
6fc0241c21
[Fix] `install.sh`: only un-interpolate $HOME for the profile source string.
...
Fixes #1384 .
8 years ago
Ryan Wheale
1b2305232f
[install script] Use `$HOME` variable in `NVM_DIR`
8 years ago
Peter Dave Hello
f7763c8ba9
[Tests] die() in tests should quote "$@" for echo
8 years ago
Qiangjun Ran
cadbbced20
[Tests] Replace all dots with backslash dots
8 years ago
Jordan Harband
ecba036cbf
[Tests] show `type` output for debugging
9 years ago
Xavier Cambar
6cee20a071
testing NVM_DIR
9 years ago
Matthew Campbell
4f4ff208eb
Improve error messages
9 years ago
Matthew Campbell
78fee866f5
Remove usage of declare
9 years ago
Matthew Campbell
8dc53d4dd5
Refactor and fix nvm_detect_profile tests
...
close #833
close #957
9 years ago
Matthew Campbell
645bda4987
Addresses comments to close #833
9 years ago
David Mankin
918fcb4bd2
PROFILE env var should override detected profile
...
Add tests for PROFILE overriding detected files
9 years ago
David Mankin
cb138a1815
Fix error messages in tests
9 years ago
Cristian Consonni
c37dbbecb4
Detect shell type from $SHELL variable instead of .$SHELLrc files
10 years ago
Jordan Harband
bb2fe618cb
The install script only runs in bash.
10 years ago
Jordan Harband
f0d81e2d33
Revert "install: adding some debugging output"
...
This reverts commit c8efe3d28a
.
Conflicts:
install.sh
10 years ago
elliottcable
a216f56443
tests: fail install_script test if npm can't install package
10 years ago
elliottcable
c8efe3d28a
install: adding some debugging output
10 years ago
elliottcable
0717d5f995
install: some tweaks and clean-up
10 years ago
elliottcable
6cfc309336
install: Pass global-module check in the absence of npm
10 years ago
elliottcable
4ba7ee5797
install: Show a warning when global packages exist
10 years ago
Jordan Harband
689c52c90d
Install nvm-exec as well when installing via script.
...
Fixes #553 .
10 years ago
Xavier Cambar
516e553093
Refactors NVM_SOURCE
10 years ago
Xavier Cambar
b9f15b0ab0
Tests for PROFILE detection
10 years ago
Jordan Harband
d30c0fe146
Cleaning up install_script tests.
10 years ago
Xavier Cambar
3cdec8e875
Testable install script
...
* wraps main code into a function
* EnvVar-based install start
* Clean environment after install
10 years ago