mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
Use repo dir for NVM_DIR so we don't mess with global nvm installations
This commit is contained in:
parent
9c33f4d91c
commit
bf24f56434
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
tests/.urchin.log
|
tests/.urchin.log
|
||||||
|
.nvm
|
||||||
previous_version
|
previous_version
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
export test_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
export test_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||||
export repo_dir="$test_dir/.."
|
export repo_dir="$test_dir/.."
|
||||||
|
export NVM_DIR="$repo_dir/.nvm"
|
||||||
|
|
||||||
die () {
|
die () {
|
||||||
echo $@
|
echo $@
|
||||||
|
Loading…
Reference in New Issue
Block a user