bash-completion: systemctl: complete clean verb (#43681)

Add `clean` to the non-template unit verbs so it is suggested by
systemctl Bash completion and completes valid unit names.

Fixes #43670.
This commit is contained in:
Deniz Gözen
2026-09-08 02:28:24 +09:00
committed by GitHub
parent 7efa326b7a
commit a7fc55f865
+1 -1
View File
@@ -217,7 +217,7 @@ _systemctl () {
local -A VERBS=(
[ALL_UNITS]='cat mask'
[NONTEMPLATE_UNITS]='is-active is-failed is-enabled status show preset help list-dependencies edit set-property revert'
[NONTEMPLATE_UNITS]='is-active is-failed is-enabled status show preset help list-dependencies edit set-property revert clean'
[ENABLED_UNITS]='disable'
[DISABLED_UNITS]='enable'
[REENABLABLE_UNITS]='reenable'