Skip to content

fix: prevent zsh compdef command not found errors#2

Merged
pld merged 1 commit intopld:mainfrom
ukanga:fix/zsh-compdef-errors
Jan 24, 2026
Merged

fix: prevent zsh compdef command not found errors#2
pld merged 1 commit intopld:mainfrom
ukanga:fix/zsh-compdef-errors

Conversation

@ukanga
Copy link
Copy Markdown
Collaborator

@ukanga ukanga commented Jan 23, 2026

Add .zshenv to the temporary ZDOTDIR that provides a stub compdef function to queue calls until compinit runs. This fixes errors that occur when zsh frameworks (oh-my-zsh, prezto, etc.) call compdef before the completion system is initialized.

Closes #1

Add .zshenv to the temporary ZDOTDIR that provides a stub compdef
function to queue calls until compinit runs. This fixes errors that
occur when zsh frameworks (oh-my-zsh, prezto, etc.) call compdef
before the completion system is initialized.
@pld
Copy link
Copy Markdown
Owner

pld commented Jan 24, 2026

awesome, thank you!

@pld pld merged commit 07798bb into pld:main Jan 24, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

zsh compdef command not found errors

2 participants