]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shell-completion: add whoami to bash
authorLuca Boccassi <bluca@debian.org>
Fri, 7 Jul 2023 12:40:12 +0000 (13:40 +0100)
committerLuca Boccassi <bluca@debian.org>
Fri, 7 Jul 2023 12:40:12 +0000 (13:40 +0100)
shell-completion/bash/systemctl.in

index 1b803de8b1cb02aa7ad6f7a2197d27f86460ed48..480b3b5ae10ca79d5c20aa2d200295c6061e2d7b 100644 (file)
@@ -211,7 +211,7 @@ _systemctl () {
         [MASKED_UNITS]='unmask'
         [JOBS]='cancel'
         [ENVS]='set-environment unset-environment import-environment'
-        [STANDALONE]='daemon-reexec daemon-reload default
+        [STANDALONE]='daemon-reexec daemon-reload default whoami
                              emergency exit halt hibernate hybrid-sleep
                              suspend-then-hibernate kexec soft-reboot list-jobs list-sockets
                              list-timers list-units list-unit-files poweroff