aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-05-10 10:25:31 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-05-10 10:25:31 +0300
commit1dcd8825937e2a58519bef4fb7ef3f0322a91db8 (patch)
treef210317d4452d456f9a2ed326b1388f1a6eef21f /internal
parent064f4d22097a8086eb857f04d11c00eb4b452275 (diff)
set P9K_STARTUP_CONSOLE_OUTPUT to assist in debugging startup console output problems
Diffstat (limited to 'internal')
-rw-r--r--internal/p10k.zsh1
1 files changed, 1 insertions, 0 deletions
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'