Skip to content

fix zsh completion loaded from fpath#2544

Merged
davidism merged 1 commit into8.1.xfrom
zsh-autoload
Jun 30, 2023
Merged

fix zsh completion loaded from fpath#2544
davidism merged 1 commit into8.1.xfrom
zsh-autoload

Conversation

@davidism
Copy link
Member

When the ZSH completion script is placed in a directory on fpath, it expects to be called directly. Currently, the script only expects to be called with eval/source/., registering the function to be called later. Look at the last item in zsh_eval_context to determine if the autoload mechanism is being used and call directly in that case.

fixes #2344

@davidism davidism added this to the 8.1.4 milestone Jun 30, 2023
@davidism davidism merged commit df9ad40 into 8.1.x Jun 30, 2023
@davidism davidism deleted the zsh-autoload branch June 30, 2023 18:31
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant