From b457868e0cb9fdbeac4815b176eae1d62ff20799 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 31 Aug 2026 16:14:56 +0200 Subject: [PATCH 1/5] zsh: Add missing --tmp2-public-key-policyref --- shell-completion/zsh/_systemd-cryptenroll | 1 + 1 file changed, 1 insertion(+) diff --git a/shell-completion/zsh/_systemd-cryptenroll b/shell-completion/zsh/_systemd-cryptenroll index 87b701e231..386a5e6fed 100644 --- a/shell-completion/zsh/_systemd-cryptenroll +++ b/shell-completion/zsh/_systemd-cryptenroll @@ -71,6 +71,7 @@ _arguments -s \ '--tpm2-argon2id-parallelism=[Argon2id parallelism]:threads:' \ '--tpm2-pcrs=[Specify TPM2 PCRs to seal against]:PCRs:' \ '--tpm2-public-key=[Enroll signed TPM2 PCR policy against PEM public key]:public key file:_files' \ + '--tpm2-public-key-policyref=[Enroll signed TPM2 PCR policy with the specified policy reference]:policyref:' \ '--tpm2-public-key-pcrs=[Enroll signed TPM2 PCR policy for specified TPM2 PCRs]:PCRs:' \ '--tpm2-signature=[Validate public key enrollment works with JSON signature file]:signature file:_files' \ '--tpm2-pcrlock=[Specify pcrlock policy to lock against]:pcrlock file:_files' \ From ff7dd5edd8eec9ab236c8aa89ec33185daa8e78d Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 31 Aug 2026 16:38:19 +0200 Subject: [PATCH 2/5] zsh: Add missing --kernel-cmdline option in systemctl --- shell-completion/zsh/_systemctl.in | 1 + 1 file changed, 1 insertion(+) diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in index 895e35c4a4..234473b303 100644 --- a/shell-completion/zsh/_systemctl.in +++ b/shell-completion/zsh/_systemctl.in @@ -560,6 +560,7 @@ _sys_arguments=( '--failed[Show failed units]' '--timestamp=[Change format of printed timestamps]:style:_systemctl_timestamp' '--when=[Schedule halt/power-off/reboot/kexec action after a certain timestamp]:timestamp:(show cancel auto)' + '--kernel-cmdline[Append to the kernel command line when loading]:cmdline:' '--kernel-cmdline-reuse[Reuse the current kernel command line when loading the kexec kernel]' ) _arguments -s "$_sys_arguments[@]" \ From b732d737ef9f842042726ea73bb8e6c0e0a17cf9 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 31 Aug 2026 17:02:29 +0200 Subject: [PATCH 3/5] zsh: Add `--inline` completion for systemd-tpmfiles --- shell-completion/zsh/_systemd-tmpfiles | 1 + 1 file changed, 1 insertion(+) diff --git a/shell-completion/zsh/_systemd-tmpfiles b/shell-completion/zsh/_systemd-tmpfiles index 72b9a8759c..75b9dc9d4d 100644 --- a/shell-completion/zsh/_systemd-tmpfiles +++ b/shell-completion/zsh/_systemd-tmpfiles @@ -20,6 +20,7 @@ _arguments \ '--image=[Operate on disk image as filesystem root]:image' \ '--image-policy=[Specify disk image dissection policy]:policy' \ '--replace=[Treat arguments as replacement for PATH]:PATH' \ + '(--cat-config --tldr)--inline[Treat arguments as configuration lines]' '(--cat-config --tldr)'{-n,--dry-run}'[Just print what would be done]' \ '--no-pager[Do not pipe output into a pager]' \ '*::files:_files -g "*.conf"' From ebab4a24863e0b5178d65ab9abdeb7a95299d6dd Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 31 Aug 2026 17:29:38 +0200 Subject: [PATCH 4/5] zsh: Correct json output description for busctl --- shell-completion/zsh/_busctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-completion/zsh/_busctl b/shell-completion/zsh/_busctl index 6fea1bf1b1..777a7ca13d 100644 --- a/shell-completion/zsh/_busctl +++ b/shell-completion/zsh/_busctl @@ -303,7 +303,7 @@ _arguments \ '(-q --quiet)'{-q,--quiet}'[Do not show method call reply]'\ '--verbose[Show result values in long format]' \ '--xml-interface[Dump the XML description in introspect command]' \ - '--json=[Show result values in long format]:format:_busctl_get_json' \ + '--json=[Shows output formatted as JSON]:format:_busctl_get_json' \ '-j[Show pretty json in interactive sessions, short json otherwise]' \ '--expect-reply=[Expect a method call reply]:boolean:(1 0)' \ '--auto-start=[Auto-start destination service]:boolean:(1 0)' \ From ed9ce3f4f6ac6c87b8182f7f11cc73791d03828c Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 31 Aug 2026 17:39:55 +0200 Subject: [PATCH 5/5] zsh: Add missing loginctl completion options --- shell-completion/zsh/_loginctl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell-completion/zsh/_loginctl b/shell-completion/zsh/_loginctl index 6b74ccdd60..c82adb2004 100644 --- a/shell-completion/zsh/_loginctl +++ b/shell-completion/zsh/_loginctl @@ -168,7 +168,9 @@ _arguments -s \ '(- *)'{-h,--help}'[Show help]' \ '(- *)--version[Show package version]' \ '*'{-p+,--property=}'[Show only properties by this name]:unit property' \ + '*-P+[Equivalent to --value --property=NAME]:unit property' \ '(-a --all)'{-a,--all}'[Show all properties, including empty ones]' \ + '--value[When showing properties, only print the value]' \ '--kill-whom=[Whom to send signal to]:killwhom:(main control all)' \ '(-s --signal)'{-s+,--signal=}'[Which signal to send]:signal:_signals' \ '(-H --host)'{-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \ @@ -179,4 +181,6 @@ _arguments -s \ '--no-ask-password[Do not ask for system passwords]' \ '(-n --lines)'{-n+,--lines=}'[Number of journal entries to show]' \ '(-o --output)'{-o+,--output=}'[Change journal output mode]:output modes:_sd_outputmodes' \ + '--json=[Shows output formatted as JSON]:format:(pretty short off)' \ + '-j[Equivalent to --json=pretty on TTY, --json=short otherwise]' \ '*::loginctl command:_loginctl_commands'