We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
install.sh
1 parent f36516b commit 493cc16Copy full SHA for 493cc16
install.sh
@@ -412,7 +412,10 @@ nvm_do_install() {
412
COMPLETION_STR='[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion\n'
413
BASH_OR_ZSH=false
414
415
- if [ -z "${NVM_PROFILE-}" ] ; then
+ if [ "${PROFILE-}" = '/dev/null' ] ; then
416
+ # the user has specifically requested NOT to have nvm touch their profile
417
+ echo
418
+ elif [ -z "${NVM_PROFILE-}" ] ; then
419
local TRIED_PROFILE
420
if [ -n "${PROFILE}" ]; then
421
TRIED_PROFILE="${NVM_PROFILE} (as defined in \$PROFILE), "
0 commit comments