diff --git a/plugins/upgrade/init.zsh b/plugins/upgrade/init.zsh index 27194abd..a5e60a3e 100644 --- a/plugins/upgrade/init.zsh +++ b/plugins/upgrade/init.zsh @@ -19,7 +19,7 @@ function upgrade_zsh() { current_path=`pwd` cd ~/.oh-my-zsh - zstyle -t ':omz:plugin:upgrade' auto-commit || nocommit='--no-commit' + zstyle -t ':omz:plugin:update-omz' auto-commit || local nocommit='--no-commit' if git pull $nocommit --strategy=recursive -X ours origin master; then zstyle -t ':omz:plugin:upgrade' color && printf '\033[0;34m%s\033[0m\n'