autoload +X _systemctl does not produce any output, but it does not gives an error though but the completion context for systemctl does not change, _systemctl is not present Pier Paolo Grassi Il giorno dom 12 feb 2023 alle ore 18:52 Pier Paolo Grassi < pierpaolog@gmail.com> ha scritto: > 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@brasslantern.com> ha scritto: > >> On Sun, Feb 12, 2023 at 9:23 AM Pier Paolo Grassi >> 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 >> >