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

Completion functions should always be autoloaded #21

Open
MenkeTechnologies opened this issue Sep 5, 2020 · 0 comments
Open

Completion functions should always be autoloaded #21

MenkeTechnologies opened this issue Sep 5, 2020 · 0 comments

Comments

@MenkeTechnologies
Copy link

Completion functions should always be autoloaded (lazy loaded). Otherwise this slows down startup and increases memory overhead.

A _npm file should be in a dir in fpath with #compdef npm which is only defined when used.

This is zsh best practice.

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