Set environment variable DISABLE_UPDATE_PROMPT=true
to always reply Yes and automatically upgrade.
Set environment variable DISABLE_AUTO_UPDATE=true
to always reply No and never upgrade.
Simply add one of these in your ~/.zshrc
somewhere before calling source $ZSH/oh-my-zsh.sh
.