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

zsh completion requires sourcing and can't get autoloaded easily #764

Open
NobbZ opened this issue Nov 14, 2018 · 0 comments
Open

zsh completion requires sourcing and can't get autoloaded easily #764

NobbZ opened this issue Nov 14, 2018 · 0 comments

Comments

@NobbZ
Copy link
Member

NobbZ commented Nov 14, 2018

The current version of the zsh completion does not support zsh autoloading.

This can be repaired by removing the wrapping function (removing first and last line basically) and naming it _exercism. One can simply throw it into the $fpath and add autoload _exercism to the .zshrc.

Then zsh would only try to load the function if one tries to complete an argument to exercism.

Can we change the zsh completion to be more autoload friendly?

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

No branches or pull requests

1 participant