It doesn't seem to do anything. Even insertingsetopt xtracejust after #compdef systemctl in /usr/share/zsh/vendor-completions/_systemctl does not produce any output when trying to complete the systemctl command after opening a new shellPier Paolo GrassiIl giorno dom 12 feb 2023 alle ore 18:41 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> ha scritto:On Sun, Feb 12, 2023 at 9:23 AM Pier Paolo Grassi <pierpaolog@xxxxxxxxx> wrote:
>
> the strange thing is that it's not autoloaded even if it is scheduled to do so
> is it possibile that some error prevents it from loading?
Yes; try
autoload +X _systemctl