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

Bart Schaefer <[email protected]> Tue, 24 Feb 2026 10:32:23 -0800
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <CAH+w=7bPFYC4OYFo1wHhGX1dg2nG7LMAKGcui1EYizo-LUW7-Q@mail.gmail.com>
On Tue, Feb 24, 2026 at 10:12 AM Chris Ross (cross2) <[email protected]> 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}' }