]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shell-completion/zsh/systemctl: add whoami
authorChristian Hesse <mail@eworm.de>
Fri, 7 Jul 2023 12:02:41 +0000 (14:02 +0200)
committerChristian Hesse <mail@eworm.de>
Fri, 7 Jul 2023 12:02:41 +0000 (14:02 +0200)
Make zsh shell-completion aware of whoami.

shell-completion/zsh/_systemctl.in

index d7f05663ce14ca8435fba46e7d840fd9b5b12c35..425ae54157744df163637943500092801ea5cff9 100644 (file)
@@ -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=(