From: Duncan Overbruck Date: Thu, 16 Jan 2025 02:51:52 +0000 (+0100) Subject: shell-completions: add systemctl sleep X-Git-Tag: v258-rc1~1584 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8342feb07342b35f6a9a4620f122b8b7a971f46;p=thirdparty%2Fsystemd.git shell-completions: add systemctl sleep --- diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index f2219f23ea4..c1231653b6f 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 a5a16b3fdbe..0000147fe42 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 )