Browse Source

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

Nick Aldwin 2 years ago
parent
commit
c66fc00401
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tools/check_for_upgrade.sh

+ 2 - 1
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
 }