mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
better warnings
This commit is contained in:
parent
28795b43ce
commit
d443fccddb
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue