Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: completion functions not loaded



It doesn't seem to do anything. Even inserting
setopt xtrace

just 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 shell

Pier Paolo Grassi


Il 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


Messages sorted by: Reverse Date, Date, Thread, Author