plugin-nvm icon indicating copy to clipboard operation
plugin-nvm copied to clipboard

Keep nvm_prefix if set

Open ribugent opened this issue 3 years ago • 0 comments

Currently, I was dealing with nvm on my Arch Linux installed from AUR. The package manager install it in /usr/share/nvm/

The plugin didn't work well, setting NVM_DIR ended up nvm trying to download and install nvm version in /usr/share/nvm/.

Looking in the code, I discovered that there's a patch for brew users that sets the nvm_prefix for them. So I'm proposing on this patch allow the users to set their own nvm_prefix for similar cases.

Hope this helps

ribugent avatar Nov 15 '21 12:11 ribugent