I have been using Powerlevel 10k with Zsh on MacOS Monterey.
Now that I've just installed Anaconda for MacOS, whenever I open a new tab in the terminal iTerm, I get the following message:
[WARNING]: Console output during zsh initialization detected.
When using Powerlevel10k with instant prompt, console output during zsh
initialization may indicate issues.
You can:
- Recommended: Change ~/.zshrc so that it does not perform console I/O
after the instant prompt preamble. See the link below for details.
* You will not see this error message again.
* Zsh will start quickly and prompt will update smoothly.
- Suppress this warning either by running p10k configure or by manually
defining the following parameter:
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
* You will not see this error message again.
* Zsh will start quickly but prompt will jump down after initialization.
- Disable instant prompt either by running p10k configure or by manually
defining the following parameter:
typeset -g POWERLEVEL9K_INSTANT_PROMPT=off
* You will not see this error message again.
* Zsh will start slowly.
- Do nothing.
* You will see this error message every time you start zsh.
* Zsh will start quickly but prompt will jump down after initialization.
For details, see:
https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt
-- console output produced during zsh initialization follows --
(eval):13: unmatched "
I have tried:
conda config --set changeps1 false
But it didn't work.
How do I fix it?
Aparently solved
As stated in this reddit thread, I have tried:
Open the .zsh config:
❯ nvim ~/.zshrc
And at the top of the file, add the following line:
export CONDA_AUTO_ACTIVATE_BASE=false
Then reload the zsh config:
source ~/.zshrc
And it seemed to work