Skip to content

[bug]: Some config do not take effect until after the zinit update command #726

@nibazshab

Description

@nibazshab

What happened?

zsh-users/zsh-completions OMZ::lib/completion.zsh don't work.

but after I try zinit update that it MAY BE work. (not 100%, sometimes still didn't work)

Steps to reproduce

Here is a Desktop folder and Download folder.

  1. Enter cd sk and try use TAB to complete to cd Desktop
  2. Nothing run, still cd sk
  3. Try zinit update command
  4. Repeat step.1
  5. It's OK

sometimes, I still got step.2 but not step.5, after step.3.

  1. Enter cd D and TAB, try access the selection to use the arrow keys choose.
  2. Failed, don't have selection, only can use TAB choose.
  3. Try zinit update command
  4. Repeat step.1
  5. It's OK

sometimes, I still got step.2 but not step.5, after step.3.

Relevant output

Screenshots and recordings

No response

Operating System & Version

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

Zsh version

zsh 5.9 (arm64-apple-darwin24.0)

Terminal emulator

xterm-256color

If using WSL on Windows, which version of WSL

None

Additional context

.zshrc

source $HOMEBREW_PREFIX/opt/zinit/zinit.zsh

zinit light zsh-users/zsh-completions
zinit light zsh-users/zsh-autosuggestions
zinit light zsh-users/zsh-history-substring-search
zinit light zdharma-continuum/fast-syntax-highlighting

zinit snippet OMZ::lib/completion.zsh
zinit snippet OMZ::lib/history.zsh
zinit snippet OMZ::lib/key-bindings.zsh
zinit snippet OMZ::lib/theme-and-appearance.zsh

zinit ice pick"async.zsh" src"pure.zsh"
zinit light sindresorhus/pure

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions