From 1dcd8825937e2a58519bef4fb7ef3f0322a91db8 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Wed, 10 May 2023 09:25:31 +0200 Subject: [PATCH] set P9K_STARTUP_CONSOLE_OUTPUT to assist in debugging startup console output problems --- internal/p10k.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 31a6d621..ae9ffacd 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -6610,6 +6610,7 @@ function _p9k_clear_instant_prompt() { unexpected=${(S)unexpected//$'\e'[^$'\a\e']#($'\a'|$'\e\\')} # Visual Studio Code prints this garbage. unexpected=${${unexpected//$'\033[1;32mShell integration activated\033[0m\n'}//$'\r'} + typeset -g P9K_STARTUP_CONSOLE_OUTPUT=("$content" "$unexpected") if [[ -n $unexpected ]]; then local omz1='[Oh My Zsh] Would you like to update? [Y/n]: ' local omz2='Updating Oh My Zsh'