summaryrefslogtreecommitdiffstats
path: root/shell-completion
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2023-07-07 14:02:41 +0200
committerChristian Hesse <mail@eworm.de>2023-07-07 14:02:41 +0200
commit6864f9b9e9ec0eb08492c1e24855503eb64b45e2 (patch)
treea1e824c62941a71d44809ee7e4f2f19775d7aa2b /shell-completion
parentshell-completion/zsh/systemctl: add soft-reboot (diff)
downloadsystemd-6864f9b9e9ec0eb08492c1e24855503eb64b45e2.tar.xz
systemd-6864f9b9e9ec0eb08492c1e24855503eb64b45e2.zip
shell-completion/zsh/systemctl: add whoami
Make zsh shell-completion aware of whoami.
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/zsh/_systemctl.in1
1 files changed, 1 insertions, 0 deletions
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=(