feat(updater): show command to update when update skipped (#10465)

This commit is contained in:
Nick Aldwin 2021-12-01 06:44:15 -05:00 committed by GitHub
parent e253661a9b
commit c66fc00401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,8 @@ function update_ohmyzsh() {
[[ "$option" != $'\n' ]] && echo
case "$option" in
[yY$'\n']) update_ohmyzsh ;;
[nN]) update_last_updated_file ;;
[nN]) update_last_updated_file ;&
*) echo "[oh-my-zsh] You can update manually by running \`omz update\`" ;;
esac
fi
}