nvm icon indicating copy to clipboard operation
nvm copied to clipboard

prefix all variable with LOCAL_NVM_

Open michelgasser opened this issue 3 years ago • 1 comments

Sourcing so many universal variables is dangerous and has led to problems for me. If all variables are 'uniqe', nvm.sh can be sourced globally with 'set -a'. In my case, I had a problem before with the variable 'VERSION' which had the version of the Docker image as value.

michelgasser avatar Feb 15 '22 10:02 michelgasser

This is a duplicate of #2744. (please leave this open so i can keep the two in sync)

ljharb avatar Feb 15 '22 17:02 ljharb