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

Ignore errors of loading before completions initialized #377

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AlmogBaku
Copy link

This PR fixes the issue I encountered on #285

It simply ignores the error of loading this script before the compinit.

@ahmetb
Copy link
Owner

ahmetb commented Dec 16, 2022

Is this pretty standard in comp scripts in zsh?

@AlmogBaku
Copy link
Author

I dunno, I saw it on another project that had the same issue...

@ahmetb
Copy link
Owner

ahmetb commented Dec 16, 2022

It would be good to research as it actually works fine for most people. Adding something we don't understand the consequences fully is going to create a problem in the future, especially if this bug happens because how things are set up for a small amount of people.

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.

2 participants