shell-completion: add updatectl completions

Add bash and zsh completions for updatectl commands and options.
Complete targets and host features dynamically from updatectl output.

Closes #43277
This commit is contained in:
dongshengyuan
2026-08-06 12:12:09 +01:00
committed by Luca Boccassi
parent f807a6f26d
commit aec96077fa
4 changed files with 179 additions and 0 deletions
+1
View File
@@ -60,6 +60,7 @@ foreach item : [
['systemd-vpick', ''],
['timedatectl', 'ENABLE_TIMEDATED'],
['udevadm', ''],
['updatectl', 'ENABLE_SYSUPDATED'],
['userdbctl', 'ENABLE_USERDB'],
['varlinkctl', ''],
]