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

Re: completion functions not loaded



oh, yikes... 
alias systemctl='sudo SYSTEMD_PAGER= systemctl'
sorry, totally forgotten about that

Pier Paolo Grassi


Il giorno dom 12 feb 2023 alle ore 19:36 Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx> ha scritto:
On Sun, Feb 12, 2023 at 7:28 PM Pier Paolo Grassi <pierpaolog@xxxxxxxxx> wrote:
>
> sorry, too soon...
>
> 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,
> even after a
> compdef _systemctl systemctl

This works though, right?

    \systemctl <TAB>

(Note the backslash).

If the answer is yes (I assume it is), what's the output of `alias systemctl`?

Roman.


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