1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-25 00:21:58 +00:00

better warnings

This commit is contained in:
romkatv 2019-10-26 21:14:25 +02:00
parent 28795b43ce
commit d443fccddb

View file

@ -3793,8 +3793,7 @@ function _p9k_clear_instant_prompt() {
echo -E - "${(%):-[%3FWARNING%f]: Console output during zsh initialization detected.}" echo -E - "${(%):-[%3FWARNING%f]: Console output during zsh initialization detected.}"
echo -E - "" echo -E - ""
echo -E - "${(%):-When using Powerlevel10k with instant prompt, console output during zsh}" echo -E - "${(%):-When using Powerlevel10k with instant prompt, console output during zsh}"
echo -E - "${(%):-initialization may indicate issues. For details, see:}" echo -E - "${(%):-initialization may indicate issues.}"
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 -E - ""
echo -E - "${(%):-You can:}" echo -E - "${(%):-You can:}"
echo -E - "" 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 - "${(%):- * 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 - "${(%):- * Zsh will start %Bquickly%b but prompt will %Bjump down%b after initialization.}"
echo -E - "" 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 - "${(%):-%3F-- console output produced during zsh initialization follows --%f}"
echo -E - "" echo -E - ""
fi fi