[Fix] bash_completion source prompt, remove &&

Peter Dave Hello 2017-01-01 18:06:50 +08:00
parent 9593616b8c
commit 911ff87601
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ nvm_do_install() {
echo "=> Close and reopen your terminal to start using nvm or run the following to use it now:" echo "=> Close and reopen your terminal to start using nvm or run the following to use it now:"
command printf "${SOURCE_STR}" command printf "${SOURCE_STR}"
if ${BASH_OR_ZSH} ; then if ${BASH_OR_ZSH} ; then
command printf " && ${COMPLETION_STR}" command printf "${COMPLETION_STR}"
fi fi
} }