mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-09-15 00:00:08 +08:00
[Docs] install.sh: Fix missing words in bash/zsh completion message
When profile detection fails, the completion hint omitted "correct file" between "to the" and "if you are using". Fixes #3528
This commit is contained in:
+1
-1
@@ -496,7 +496,7 @@ nvm_do_install() {
|
||||
fi
|
||||
fi
|
||||
if ${BASH_OR_ZSH} && [ -z "${NVM_PROFILE-}" ] ; then
|
||||
nvm_echo "=> Please also append the following lines to the if you are using bash/zsh shell:"
|
||||
nvm_echo "=> Please also append the following lines to the correct file if you are using bash/zsh shell:"
|
||||
command printf "${COMPLETION_STR}"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user