wting / autojump

A cd command that learns - easily navigate directories from the command line
Other
16.3k stars 705 forks source link

Initialization warning: plugin 'autojump' not found #683

Open fengjin2333 opened 1 year ago

fengjin2333 commented 1 year ago

Each time start the terminal, there is warning below:

[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 'autojump' not `found`

It seems when initializing, autojump is not found. Howerver, the plugin was installed and could be used properly.

How could this warning be removed? I don't quite sure about the 'Recommended' suggestion. What should I change?

I've already read the https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt