* PATCH: add new arguments to systemctl completion
@ 2011-12-20 23:47 T.C. Hollingsworth
2011-12-20 23:50 ` T.C. Hollingsworth
0 siblings, 1 reply; 2+ messages in thread
From: T.C. Hollingsworth @ 2011-12-20 23:47 UTC (permalink / raw)
To: zsh-workers
This patch adds recently added arguments to systemctl that aren't in
the zsh completion script yet.
---
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"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: add new arguments to systemctl completion
2011-12-20 23:47 PATCH: add new arguments to systemctl completion T.C. Hollingsworth
@ 2011-12-20 23:50 ` T.C. Hollingsworth
0 siblings, 0 replies; 2+ messages in thread
From: T.C. Hollingsworth @ 2011-12-20 23:50 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
On Tue, Dec 20, 2011 at 4:47 PM, T.C. Hollingsworth
<tchollingsworth@gmail.com> 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.
[-- Attachment #2: systemctl-new-arguments.patch --]
[-- Type: text/x-patch, Size: 1453 bytes --]
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"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-20 23:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-20 23:47 PATCH: add new arguments to systemctl completion T.C. Hollingsworth
2011-12-20 23:50 ` T.C. Hollingsworth
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).