kubectx icon indicating copy to clipboard operation
kubectx copied to clipboard

Ignore errors of loading before completions initialized

Open AlmogBaku opened this issue 2 years ago • 3 comments

This PR fixes the issue I encountered on #285

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

AlmogBaku avatar Dec 16 '22 09:12 AlmogBaku

Is this pretty standard in comp scripts in zsh?

ahmetb avatar Dec 16 '22 16:12 ahmetb

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

AlmogBaku avatar Dec 16 '22 16:12 AlmogBaku

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.

ahmetb avatar Dec 16 '22 16:12 ahmetb