We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d9f814 commit 7723bfaCopy full SHA for 7723bfa
install.sh
@@ -306,7 +306,7 @@ nvm_do_install() {
306
command printf "${SOURCE_STR}"
307
else
308
case "${NVM_PROFILE-}" in
309
- *".bashrc" | *".bash_profile" | *".zshrc")
+ *"/.bashrc" | *"/.bash_profile" | *"/.zshrc")
310
BASH_OR_ZSH=true
311
;;
312
esac
@@ -342,7 +342,7 @@ nvm_do_install() {
342
echo "=> Close and reopen your terminal to start using nvm or run the following to use it now:"
343
344
if ${BASH_OR_ZSH} ; then
345
- command printf " && ${COMPLETION_STR}"
+ command printf "${COMPLETION_STR}"
346
fi
347
}
348
0 commit comments