summaryrefslogtreecommitdiff
path: root/tools/check_for_upgrade.sh
diff options
context:
space:
mode:
authorNick Aldwin <Nick@Aldwin.us>2021-12-01 06:44:15 -0500
committerGitHub <noreply@github.com>2021-12-01 12:44:15 +0100
commitc66fc00401a8d6a6bd6da39ec890dfdc0e6bd878 (patch)
tree7ec1f0e3647e2b07ec83d7efe520bb4cfb8c598e /tools/check_for_upgrade.sh
parente253661a9b3d8bba3acc90bc06c211f14ab8d587 (diff)
downloadzsh-c66fc00401a8d6a6bd6da39ec890dfdc0e6bd878.tar.gz
zsh-c66fc00401a8d6a6bd6da39ec890dfdc0e6bd878.tar.bz2
zsh-c66fc00401a8d6a6bd6da39ec890dfdc0e6bd878.zip
feat(updater): show command to update when update skipped (#10465)
Diffstat (limited to 'tools/check_for_upgrade.sh')
-rw-r--r--tools/check_for_upgrade.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh
index b6625a395..293f48edf 100644
--- a/tools/check_for_upgrade.sh
+++ b/tools/check_for_upgrade.sh
@@ -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
}