Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
How can I avoid completion using chkconfig on RHEL10?
- X-seq: zsh-users 30452
- From: "Chris Ross (cross2)" <cross2@xxxxxxxxx>
- To: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Cc: "cross+zsh@xxxxxxxxxx" <cross+zsh@xxxxxxxxxx>
- Subject: How can I avoid completion using chkconfig on RHEL10?
- Date: Tue, 24 Feb 2026 18:11:42 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=p4V36rfLanDy0vGU2n9BSQx0Laj1rmTwRsVFxbj3+LA=; b=NxURFBp+PvnwXTkJZxIzg3lfop3/0yUdUoHZjErrrvWjCGQU6HVqbAhmjACoRQ8BNuHfM5iPs/D98ud2gB+N/FFDnwi+iUPRPXQ9mTD0gdTOu7MXIq9d/9Xa7mRkvJUWG7HLjTZZcVc9Muz/xXOZzdr6KNxnOrChuQwDM7+UD2ABvUUBVplfbRPnjkQN2N/Vt3JJUF5+enYaZfadlngNkfEOwDBlKWqH56p4T8RPfn1WKCtNFTgLF0agIXkdiZ29u77xVOOkI1cw0O9nUq7kTMCZGc+SRuxpCho/1vSHln/hYPyFtv06CMCjx67ySUj27wI7rZTU50kQhocpgqophg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AVfaKx+dYIw0Hmp8bpHZpZUGeBKRRHS7QtAnPm8XZsfJ1GqeUoSUi2NlH2Dy58lfCtUjgue9NUHRrkQiaSN5UNP28AFQjDeORifo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List-id: <zsh-users.zsh.org>
- Thread-index: AQHcpbgE/LatHezXO06aPbCIy6VYlA==
- Thread-topic: How can I avoid completion using chkconfig on RHEL10?
Hello. I have installed a RHEL10 system, and installed zsh 5.9 onto it. When trying to complete options for the “service” command, I am prompted whether I want to install “chkconfig”.
cross2@build2 ~ ❯ service auto…Install package 'chkconfig' to provide command 'chkconfig'? [N/y]
Install package 'chkconfig' to provide command 'chkconfig'? [N/y]
cross2@build2 ~ ❯ service auto
Looking into this, I find that the definition of _service in zsh’s supplied functions includes a call, when not on FreeBSD, to “chkconfig” without ever validating that it exists.
Google AI says this is a tool "used in older Linux distributions”, although I also see it documented recently on the net. But, certainly in the case of the RHEL10-based system I’m on, there isn’t such a thing. The thinking seems to be that more recent systems use “systemctl” for this, which does make sense.
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.
Thanks.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author