Matteo De Wint
|
93e0070a44
|
[Fix] `nvm_die_on_prefix`: filter prefixed env vars on name only, ignoring values
|
2020-11-28 15:16:35 +01:00 |
Jordan Harband
|
3b57dfec8d
|
Revert "[Fix] `nvm_die_on_prefix`: only grep lines starting with env var name" (#2347)
This reverts commit 21c0c05130 .
Fixes #2360. Fixes #2364. Fixes #2366.
|
2020-11-27 21:28:12 -08:00 |
Matteo De Wint
|
21c0c05130
|
[Fix] `nvm_die_on_prefix`: only grep lines starting with env var name
|
2020-11-16 11:35:26 +01:00 |
Jordan Harband
|
499d303746
|
[Perf] `use`/`nvm_die_on_prefix`: replicate npm config algorithm and remove `npm config` call
|
2020-08-24 22:44:25 -07:00 |
Dylan Armstrong
|
e01060fa2c
|
[Fix] `nvm_die_on_prefix`: use directory comparison rather than string
|
2020-10-09 09:43:21 -05:00 |
Jordan Harband
|
1d88ecfce5
|
[Fix] `nvm_die_on_prefix`: check that the prefix is inside the version dir, not just the nvm dir
- also pass the version dir as the third argument
|
2020-08-23 22:50:41 -07:00 |
Jordan Harband
|
4846d57c69
|
`nvm use`: perfect pre-npm-config env var checking
|
2017-12-05 00:00:18 -08:00 |
Peter Dave Hello
|
f7763c8ba9
|
[Tests] die() in tests should quote "$@" for echo
|
2016-11-07 03:34:36 +08:00 |
Qiangjun Ran
|
cadbbced20
|
[Tests] Replace all dots with backslash dots
|
2016-11-03 23:44:59 -07:00 |
Jordan Harband
|
d12ccb130d
|
[Fix] `zsh`: when `warncreateglobal` is set, this line warns for some reason. Use `env` to suppress it.
Fixes #1236.
|
2016-09-18 13:39:50 -07:00 |
Jordan Harband
|
8ee6f30352
|
Add support for `$NPM_CONFIG_PREFIX` to `nvm_die_on_prefix`.
Fixes #606.
|
2015-09-23 06:25:55 -07:00 |
Jordan Harband
|
1458de7293
|
Ensure that if `npm config get prefix` is set to something outside `nvm`, that `nvm use` refuses to work.
Fixes #606.
|
2015-09-21 04:47:37 -07:00 |
Jordan Harband
|
a1def71062
|
Add `nvm_die_on_prefix`
|
2015-09-21 04:47:30 -07:00 |