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

[bug]: zinit+powerlevel10k > ctl-k > Symbol index NOT found... #388

Closed
1 task done
dvessel opened this issue Sep 30, 2022 · 2 comments
Closed
1 task done

[bug]: zinit+powerlevel10k > ctl-k > Symbol index NOT found... #388

dvessel opened this issue Sep 30, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@dvessel
Copy link

dvessel commented Sep 30, 2022

What happened?

Hitting control-k to clear a line shows this warning: Symbol index NOT found, NO DATA to show, sleeping… This only happens with powerlevel10k loaded.

I’m using iTerm on MacOS Monterey 12.6 and it uses keyboard shortcuts borrowed from Emacs. Ctrl-K is supposed to clear the line to the right of the cursor but I get an orange notice instead.

It started happening after 17fd453.

Steps to reproduce

  1. Install any version that includes 17fd453.
  2. powerlevel10k should be loaded.
  3. Ctrl-K at any time.

Relevant output

Symbol index NOT found, NO DATA to show, sleeping…

Screenshots and recordings

image

Operating System & Version

OS: darwin21.0 | Vendor: apple | Machine: x86_64 | CPU: arm64 | Processor: arm | Hardware: arm64

Zsh version

zsh 5.8.1 (x86_64-apple-darwin21.0)

Terminal emulator

xterm-256color

If using WSL on Windows, which version of WSL

No response

Additional context

Part of my .zshrc file

# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
p10k_cpath="${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
[ ! -f $p10k_cpath ] || source $p10k_cpath

# Source zinit. It's available in homebrew but it's not officially supported.
# Install manually: https://github.com/zdharma-continuum/zinit
zinit_home="${XDG_DATA_HOME:-$HOME/.local/share}/zinit/zinit.git"
[ ! -f $zinit_home/zinit.zsh ] || source $zinit_home/zinit.zsh

if type zinit &>/dev/null; then

  # https://github.com/romkatv/powerlevel10k
  zinit ice depth"1"; zinit light romkatv/powerlevel10k
  # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
  [ ! -f $HOME/.p10k.zsh ] || source $HOME/.p10k.zsh

  # https://github.com/Aloxaf/fzf-tab
  # NOTE: fzf-tab needs to be loaded after compinit, but before plugins which
  # will wrap widgets, such as zsh-autosuggestions or fast-syntax-highlighting!!
  zinit ice depth"1"; zinit light Aloxaf/fzf-tab

  # https://github.com/zdharma-continuum/fast-syntax-highlighting
  zinit ice depth"1"; zinit light zdharma-continuum/fast-syntax-highlighting

  # https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins
  zinit snippet OMZ::plugins/extract
  zinit snippet OMZ::plugins/fancy-ctrl-z
  zinit snippet OMZ::plugins/transfer
  zinit snippet OMZ::plugins/universalarchive

fi

Code of Conduct

  • I agree to follow this project's Code of Conduct
@dvessel dvessel added the bug Something isn't working label Sep 30, 2022
@dvessel
Copy link
Author

dvessel commented Sep 30, 2022

I initially filed a bug report with p10k but it was suggested that I post this here.

romkatv/powerlevel10k#2040

@dvessel
Copy link
Author

dvessel commented Sep 30, 2022

This was already raised in #386 and fixed in #387. Closing.

@dvessel dvessel closed this as completed Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants