Skip to content

docs: use .zshrc for zsh completion setup#13813

Open
gcomneno wants to merge 6 commits intopypa:mainfrom
gcomneno:docs/zsh-completion-compdef
Open

docs: use .zshrc for zsh completion setup#13813
gcomneno wants to merge 6 commits intopypa:mainfrom
gcomneno:docs/zsh-completion-compdef

Conversation

@gcomneno
Copy link
Contributor

Fixes #12738.\n\nThe user guide currently suggests appending zsh completion to ~/.zprofile, which can run before zsh completion (compinit) is initialized and causes 'compdef: command not found'. This updates the docs to use ~/.zshrc and adds a brief note about compinit.\n\nPicking this up since there was no activity on the issue for a few weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mac zsh auto=completion error "command not found: compdef"

1 participant

Comments