From d443fccddb7d306170052ea267b502b278489d2c Mon Sep 17 00:00:00 2001 From: romkatv Date: Sat, 26 Oct 2019 21:14:25 +0200 Subject: [PATCH] better warnings --- internal/p10k.zsh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index de63fccd..8da5ec98 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -3793,8 +3793,7 @@ function _p9k_clear_instant_prompt() { echo -E - "${(%):-[%3FWARNING%f]: Console output during zsh initialization detected.}" echo -E - "" echo -E - "${(%):-When using Powerlevel10k with instant prompt, console output during zsh}" - echo -E - "${(%):-initialization may indicate issues. For details, see:}" - echo - "${(%):-\e]8;;https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt\ahttps://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt\e]8;;\a}" + echo -E - "${(%):-initialization may indicate issues.}" echo -E - "" echo -E - "${(%):-You can:}" echo -E - "" @@ -3825,6 +3824,9 @@ function _p9k_clear_instant_prompt() { echo -E - "${(%):- * You %Bwill%b see this error message every time you start zsh.}" echo -E - "${(%):- * Zsh will start %Bquickly%b but prompt will %Bjump down%b after initialization.}" echo -E - "" + echo -E - "${(%):-For details, see:}" + echo - "${(%):-\e]8;;https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt\ahttps://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt\e]8;;\a}" + echo -E - "" echo - "${(%):-%3F-- console output produced during zsh initialization follows --%f}" echo -E - "" fi