Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[patch] add systemctl suspend support to systemd completion
- X-seq: zsh-workers 30741
- From: Greg Bouzakis <gregbouzakis@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [patch] add systemctl suspend support to systemd completion
- Date: Fri, 19 Oct 2012 14:40:42 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=BoC8TtJ4a69dQkj/78FrT/a6xgugHKpOVSaYxDwMg7U=; b=FwiJYy2A7XBvB9tTXzK3hNfruL8BFQ9ydAJJvLAeinzmo8vTWit5GHI87wpBTpvMNu uBu9fIQF1w2XnqWS0y8f6/A9cbJqzWj8G0areVaogL68zXYESuGfEutVm9EwE1fzDM8i /6QjaMbcjBl0K2d6/dahHZMnCj2RX4J200RaTHBwlBLVMbAERgERslN7zc3ivolDEn9B YOll4AgGAONCmLkYu+/znpUQnBERv4M/Wd+0QPAsWlWog4XVBjx9zMC+aQ6xCy+d5bYM 84yqFtWEAimjkBWGvNZYyrV1GdK5o+OOCBVeGAmyt6AAr37CqzHlc3rJ+WW6c8MRScoX /y1A==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Attached is a patch that add suspend completion support to systemd's
systemctl command.
--
Greg
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"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author