From 0120749a54d147405beebe6f8416da0e4443ebc4 Mon Sep 17 00:00:00 2001
From: Marc Cornellà <hello@mcornella.com>
Date: Thu, 30 Sep 2021 17:22:04 +0200
Subject: feat(updater): add mode to only remind you to update when it's time
 (#10187)

Fixes #10187

Co-authored-by: NoPreserveRoot <NoPreserveRoot@pm.me>
---
 tools/check_for_upgrade.sh | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'tools/check_for_upgrade.sh')

diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh
index fa832ffac..e6a4a3d69 100644
--- a/tools/check_for_upgrade.sh
+++ b/tools/check_for_upgrade.sh
@@ -89,6 +89,8 @@ function update_ohmyzsh() {
   # Ask for confirmation before updating unless in auto mode
   if [[ "$update_mode" = auto ]]; then
     update_ohmyzsh
+  elif [[ "$update_mode" = reminder ]]; then
+    echo "[oh-my-zsh] It's time to update! You can do that by running \`omz update\`"
   else
     # input sink to swallow all characters typed before the prompt
     # and add a newline if there wasn't one after characters typed
-- 
cgit v1.2.3-70-g09d2