c66fc00401a8d6a6bd6da39ec890dfdc0e6bd878
- Author
- Nick Aldwin <Nick@Aldwin.us>
- Committer
- GitHub <noreply@github.com>
- Date
Message
feat(updater): show command to update when update skipped (#10465)
Diff
1diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh
2index b6625a395caf7db1899978784632b897dcec87bc..293f48edff7cadbc0c213d27675b03f43fbc7a1c 100644
3--- a/tools/check_for_upgrade.sh
4+++ b/tools/check_for_upgrade.sh
5@@ -160,7 +160,8 @@ function update_ohmyzsh() {
6 [[ "$option" != $'\n' ]] && echo
7 case "$option" in
8 [yY$'\n']) update_ohmyzsh ;;
9- [nN]) update_last_updated_file ;;
10+ [nN]) update_last_updated_file ;&
11+ *) echo "[oh-my-zsh] You can update manually by running \`omz update\`" ;;
12 esac
13 fi
14 }