aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/p10k.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 423ceb1f..5a980a3e 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -6061,7 +6061,8 @@ function _p9k_clear_instant_prompt() {
local omz1='[Oh My Zsh] Would you like to update? [Y/n]: '
local omz2='Updating Oh My Zsh'
local omz3='https://shop.planetargon.com/collections/oh-my-zsh'
- if [[ -n ${${unexpected/$omz1}/$omz2*$omz3($'\n'|)} ]]; then
+ local omz4='There was an error updating. Try again later?'
+ if [[ -n ${${unexpected/$omz1}/$omz2*($omz3|$omz4)[^$'\n']#($'\n'|)} ]]; then
echo -E - ""
echo -E - "${(%):-[%3FWARNING%f]: Console output during zsh initialization detected.}"
echo -E - ""