Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console output during zsh initialization detected #3

Open
Myzel394 opened this issue Oct 4, 2023 · 2 comments
Open

Console output during zsh initialization detected #3

Myzel394 opened this issue Oct 4, 2023 · 2 comments

Comments

@Myzel394
Copy link

Myzel394 commented Oct 4, 2023

I'm trying to install dircolors using oh my zsh. I cloned the repo, added the plugin as the second plugin:

plugins=(
    colors
    theme-neutral
    git
    zsh-autosuggestions
    docker
    zsh-syntax-highlighting
    ls
)

but after restarting the terminal this warning is shown and there is no color highlighting:

[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 --

[oh-my-zsh] plugin 'theme-neutral' not found
@catman85
Copy link

same

@Myzel394
Copy link
Author

@catman85 for your interest, I decided to drop theme-colors and instead use ls_colors. This works flawlessly for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants