Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: add new arguments to systemctl completion
- X-seq: zsh-workers 30036
- From: "T.C. Hollingsworth" <tchollingsworth@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH: add new arguments to systemctl completion
- Date: Tue, 20 Dec 2011 16:50:59 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=F3tMy+0UpFvuLGj1TVkAZUN50twbRyJ8dn5SEu+3Igk=; b=imxg2xLlgvlblykRLO2YQx60i9XULo+HjHM/L62+2R3vMT2sO9YqVZk2ZuctvrsbJG I6QH2hhJEi5gltPi+VEYi3VX3KeUok9Gl82JpehZ9/nxwAJKaEGZ9zvNUu4Jl+B903Z/ C8VjYo0g2x055FJ4ztPmjlT2UN47Hu/QtdkME=
- In-reply-to: <CAJVv0O=-tkveDkvc60LEv6+WGScMLJ-z3sCGeG0vGWzg_WmEqw@mail.gmail.com>
- 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
- References: <CAJVv0O=-tkveDkvc60LEv6+WGScMLJ-z3sCGeG0vGWzg_WmEqw@mail.gmail.com>
On Tue, Dec 20, 2011 at 4:47 PM, T.C. Hollingsworth
<tchollingsworth@xxxxxxxxx> wrote:
> This patch adds recently added arguments to systemctl that aren't in
> the zsh completion script yet.
Sorry, my mailer mangled that one. Attaching instead.
Thanks!
-T.C.
Index: Completion/Unix/Command/_systemctl
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_systemctl,v
retrieving revision 1.3
diff -u -r1.3 _systemctl
--- Completion/Unix/Command/_systemctl 21 Nov 2011 11:31:24 -0000 1.3
+++ Completion/Unix/Command/_systemctl 20 Dec 2011 23:45:59 -0000
@@ -43,6 +43,7 @@
'--global[Enable/disable unit files globally]' \
{-f,--force}'[When enabling unit files, override existing symlinks. When shutting down, execute action immediately]' \
'--defaults[When disabling unit files, remove default symlinks only]' \
+ '--root=[Enable unit files in the specified root directory]:directory:_directories' \
'*::systemctl command:_systemctl_command'
}
@@ -73,8 +74,13 @@
"status:Show runtime status of one or more units"
"show:Show properties of one or more units/jobs or the manager"
"reset-failed:Reset failed state for all, one, or more units"
+ "list-unit-files:List installed unit files"
"enable:Enable one or more unit files"
"disable:Disable one or more unit files"
+ "preset:Enable/disable one or more unit files based on preset configuration"
+ "mask:Mask one or more units"
+ "unmask:Unmask one or more units"
+ "link:Link one or more units into the search path"
"is-enabled:Check whether unit files are enabled"
"load:Load one or more units"
"list-jobs:List jobs"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author