diff --git a/src/nvm.go b/src/nvm.go index ec5bac94..b3290a48 100644 --- a/src/nvm.go +++ b/src/nvm.go @@ -1481,9 +1481,6 @@ func setup() { m[res[0]] = strings.TrimSpace(strings.Join(res[1:], ":")) } - if _, ok := m["root"]; ok { - env.root = filepath.Clean(os.Getenv("NVM_HOME")) - } if val, ok := m["originalpath"]; ok { env.originalpath = filepath.Clean(val) }