From 050d6d711a827e2d6a2225fa7b61404b4e7e0a9c Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 7 Jul 2023 13:49:11 +0200 Subject: [PATCH 1/3] shell-completion/zsh/systemctl: add soft-reboot Make zsh shell-completion aware of soft-reboot. --- 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 782b643841..d7f05663ce 100644 --- a/shell-completion/zsh/_systemctl.in +++ b/shell-completion/zsh/_systemctl.in @@ -97,6 +97,7 @@ "suspend:Suspend the system" "poweroff:Shut down and power-off the system" "reboot:Shut down and reboot the system" + "soft-reboot:Shut down and reboot the userspace" "kexec:Shut down and reboot the system with kexec" "exit:Ask for user instance termination" "switch-root:Change root directory" From 6864f9b9e9ec0eb08492c1e24855503eb64b45e2 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 7 Jul 2023 14:02:41 +0200 Subject: [PATCH 2/3] shell-completion/zsh/systemctl: add whoami Make zsh shell-completion aware of whoami. --- 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 d7f05663ce..425ae54157 100644 --- a/shell-completion/zsh/_systemctl.in +++ b/shell-completion/zsh/_systemctl.in @@ -37,6 +37,7 @@ "clean:Remove configuration, state, cache, logs or runtime data of units" "bind:Bind mount a path from the host into a unit's namespace" "mount-image:Mount an image from the host into a unit's namespace" + "whoami:Determines as part of which unit the command is being invoked" ) local -a machine_commands=( From 77d4986415b75179e3beef12cadb6605e30adbfe Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 7 Jul 2023 14:05:11 +0200 Subject: [PATCH 3/3] shell-completion/zsh/resolvectl: add show-cache Make zsh shell-completion aware of show-cache. --- shell-completion/zsh/_resolvectl | 1 + 1 file changed, 1 insertion(+) diff --git a/shell-completion/zsh/_resolvectl b/shell-completion/zsh/_resolvectl index 4363ce702a..25a518edef 100644 --- a/shell-completion/zsh/_resolvectl +++ b/shell-completion/zsh/_resolvectl @@ -56,6 +56,7 @@ reset-statistics:"Resets the statistics counter shown in statistics to zero" revert:"Revert the per-interfce DNS configuration" service:"Resolve DNS-SD and SRV services" + show-cache:"Show the current cache contents" statistics:"Show resolver statistics" status:"Show the global and per-link DNS settings currently in effect" tlsa:"Query tlsa public keys stored as TLSA resource records"