zsh-workers
 help / color / mirror / code / Atom feed
From: Greg Bouzakis <gregbouzakis@gmail.com>
To: zsh-workers@zsh.org
Subject: [patch] add systemctl suspend support to systemd completion
Date: Fri, 19 Oct 2012 14:40:42 +0300	[thread overview]
Message-ID: <5797442.uraYErEyuc@netbook> (raw)

[-- 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"

                 reply	other threads:[~2012-10-19 11:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5797442.uraYErEyuc@netbook \
    --to=gregbouzakis@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).