zsh-workers
 help / color / mirror / code / Atom feed
* [patch] add systemctl suspend support to systemd completion
@ 2012-10-19 11:40 Greg Bouzakis
  0 siblings, 0 replies; only message in thread
From: Greg Bouzakis @ 2012-10-19 11:40 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 97 bytes --]

Attached is a patch that add suspend completion support to systemd's 
systemctl command.

--
Greg

[-- Attachment #2: _systemd.diff --]
[-- Type: text/x-patch, Size: 531 bytes --]

diff --git a/usr/share/zsh/functions/Completion/Unix/_systemd b/_systemd
index 585ed9c..c9fc38a 100644
--- a/usr/share/zsh/functions/Completion/Unix/_systemd
+++ b/_systemd
@@ -121,6 +121,7 @@ _hosts_or_user_at_host()
     "rescue:Enter system rescue mode"
     "emergency:Enter system emergency mode"
     "halt:Shut down and halt the system"
+    "suspend:Suspend the system"
     "poweroff:Shut down and power-off the system"
     "reboot:Shut down and reboot the system"
     "kexec:Shut down and reboot the system with kexec"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-19 11:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-19 11:40 [patch] add systemctl suspend support to systemd completion Greg Bouzakis

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).