diff options
author | Nick Aldwin <Nick@Aldwin.us> | 2021-12-01 06:44:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 12:44:15 +0100 |
commit | c66fc00401a8d6a6bd6da39ec890dfdc0e6bd878 (patch) | |
tree | 7ec1f0e3647e2b07ec83d7efe520bb4cfb8c598e /tools/check_for_upgrade.sh | |
parent | e253661a9b3d8bba3acc90bc06c211f14ab8d587 (diff) | |
download | zsh-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.sh | 3 |
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 } |