On Sat, Feb 11, 2023 at 1:27 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> > What can I do to debug the issue?
>
> Check that the file starts with either
>
> #compdef ...
>
> or
>
> #autoload
Sorry, accidentally sent too soon.
And that the #compdef line mentions the "systemctl" command. You can
also check $_comps[systemctl], it's possible that something else
loaded later is replacing it.