diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index f2219f23ea..c1231653b6 100644 --- a/shell-completion/bash/systemctl.in +++ b/shell-completion/bash/systemctl.in @@ -229,7 +229,7 @@ _systemctl () { [JOBS]='cancel' [ENVS]='set-environment unset-environment import-environment' [STANDALONE]='daemon-reexec daemon-reload default whoami - emergency exit halt hibernate hybrid-sleep + emergency exit halt hibernate hybrid-sleep sleep suspend-then-hibernate kexec soft-reboot list-jobs list-sockets list-timers list-units list-unit-files poweroff reboot rescue show-environment suspend get-default diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in index a5a16b3fdb..0000147fe4 100644 --- a/shell-completion/zsh/_systemctl.in +++ b/shell-completion/zsh/_systemctl.in @@ -105,6 +105,7 @@ "hibernate:Hibernate the system" "hybrid-sleep:Hibernate and suspend the system" "suspend-then-hibernate:Suspend the system for a period of time, and then hibernate it" + "sleep:Put the system to sleep" ) local -a groups=( unit machine unit_file job environment manager_state system )