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

Re: How can I avoid completion using chkconfig on RHEL10?



On Tue, Feb 24, 2026 at 10:12 AM Chris Ross (cross2) <cross2@xxxxxxxxx> wrote:
>
> Anyway.  Has this changed already in more recent versions, and if not, I think it should.  It should at least confirm that chkconfig is an installed command before invoking it.

The _services completer hasn't been updated since 2012, so it probably
is due for some maintenance.

This is a poor but possibly useful substitute in the meantime:
chkconfig() { service --status-all | awk '{print $4}' }




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