be accepted?
So for user services there are 3 directories that packages can be,
checked in order:
~/.config/systemd/user
/etc/systemd/user/
/usr/lib/systemd/user
I don't see a reason to have a fourth one 'for packages' in a users home
directory.
Thanks,
--
William Giokas | KaiSforza | http
Previously we put the boot offset and boot ID into the completion, now
we use something similar to the coredumpctl completion, but only with
the boot offsets.
---
This is just something I'm working on, but would like some input. I'm fine
with it not having the boot ID's output, but that may be
Just style changes to the zsh completion. If either of these patches
are too large, you can view them at
http://git.kaictl.net/wgiokas/systemd.git/?h=zsh-stylefix
v2: Added fixes to _bootctl
William Giokas (2):
zsh-completion: Use same tab-width for all files
zsh-completion: Function
Follow the instructions in CODING_STYLE for the zsh completion
functions.
---
shell-completion/zsh/_hostnamectl | 3 ++-
shell-completion/zsh/_journalctl | 12
shell-completion/zsh/_kernel-install | 6 --
shell-completion/zsh/_localectl | 12
Follow the instructions in CODING_STYLE for the zsh completion
functions.
---
shell-completion/zsh/_hostnamectl | 3 ++-
shell-completion/zsh/_journalctl | 12
shell-completion/zsh/_kernel-install | 6 --
shell-completion/zsh/_localectl | 12
Instead of having two different listings of machines, use an autoloaded
function that can be used by other shell completions in the future. It
will also allow editing a single file to change the way machinectl and
systemd-run completion for machines.
---
An extension of the previous zsh
---
Added on to the previous patch.
shell-completion/zsh/_journalctl | 8 +---
shell-completion/zsh/_sd_outputmodes | 5 +
shell-completion/zsh/_systemctl | 8 +---
3 files changed, 7 insertions(+), 14 deletions(-)
create mode 100644 shell-completion/zsh/_sd_outputmodes
Aand I hit the wrong button. Here it is to the list.
- Forwarded message from William Giokas wgiokas@wst420 -
On Thu, Oct 31, 2013 at 07:24:28PM +0100, Ronny Chevalier wrote:
---
shell-completion/zsh/_systemd-run | 2 ++
1 file changed, 2 insertions(+)
diff --git a/shell
name' \
'--description=[Description for unit]:description' \
--
1.8.4.2
Thanks,
--
William Giokas | KaiSforza | http://kaictl.net/
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306 E6B8 6902 06D8 73CD 09CF
pgpO3fEnzM1YA.pgp
Description: PGP signature
On Thu, Oct 31, 2013 at 09:54:05PM +0100, Ronny Chevalier wrote:
2013/10/31 William Giokas 1007...@gmail.com:
Much better. Now one thing that would make this amazing is if you could
make __machines an autoloaded file, possibly _sd_machines, that can be
used in multiple zsh completions so
_SYSTEMD_USER_UNIT in the --user-unit flag argument should instead be
USER_UNIT. It should also have an optional `=` between the flag and the
argument.
---
I don't actually know if this is what is supposed to be searched for, but
with _SYSTEMD_USER_UNIT, nothing is displayed (I don't see anything
Things like -n to specify the lines to show with systemctl and
journalctl accepts syntax like:
journalctl -n4
systemctl -n14
Previously, typing `-nXX tab` where XX is a number, zsh would try to
complete an integer. Now it will see the XX and use the _journalctl_none
completion. This is also
Some of the options in systemd can take multiple arguments, such as
systemctl's --type option. Previously, you would only be able to
complete a single type after the -t, but now zsh will continue to
complete the types, separating them by commas.
systemd-inhibit's --what command has colon (:), and
The _ctls function in the main _systemd file is not needed.
---
shell-completion/zsh/_systemd | 163 --
1 file changed, 79 insertions(+), 84 deletions(-)
diff --git a/shell-completion/zsh/_systemd b/shell-completion/zsh/_systemd
index fe39de8..e954c3e
---
shell-completion/zsh/_machinectl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell-completion/zsh/_machinectl b/shell-completion/zsh/_machinectl
index aa568e5..abdf46f 100644
--- a/shell-completion/zsh/_machinectl
+++ b/shell-completion/zsh/_machinectl
@@ -35,7 +35,7
Just a redo of the three un-merged patches on the ml at the moment. Nothing
really different, just rebased.
William Giokas (3):
zsh_completion: Allow specifying multiple arguments -- Just rebased.
zsh_completion: machinectl properties can be stacked
zsh_completion: Remove ctls function from
Some of the options in systemd can take multiple arguments, such as
systemctl's --type option. Previously, you would only be able to
complete a single type after the -t, but now zsh will continue to
complete the types, separating them by commas.
systemd-inhibit's --what command has colon (:), and
---
shell-completion/zsh/_machinectl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell-completion/zsh/_machinectl b/shell-completion/zsh/_machinectl
index aa568e5..abdf46f 100644
--- a/shell-completion/zsh/_machinectl
+++ b/shell-completion/zsh/_machinectl
@@ -35,7 +35,7
---
shell-completion/zsh/_systemd | 163 --
1 file changed, 79 insertions(+), 84 deletions(-)
diff --git a/shell-completion/zsh/_systemd b/shell-completion/zsh/_systemd
index fe39de8..e954c3e 100644
--- a/shell-completion/zsh/_systemd
+++
---
shell-completion/zsh/_journalctl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell-completion/zsh/_journalctl b/shell-completion/zsh/_journalctl
index 61983d5..32708f5 100644
--- a/shell-completion/zsh/_journalctl
+++ b/shell-completion/zsh/_journalctl
@@ -19,7 +19,7
---
Just a slightly edited version that functions MUCH nicer. Now, on top of
putting in the equals sign, when you type in:
journalctl _EXE=tab
it automagically calles _journal_fields with _EXE as an argument. Same
with every other value you could put in there. Some examples:
wgiokas@wst420:~
_hosts_or_user_at_host was used by 6 different completions, and
previously was in all 6 of those files. I moved it out to its own file,
_sd_hosts_or_user_at_host. This will be autoloaded for use in other
completion functions. It also allows external completions to use this
function by simply
-u and --user-unit can be specified multiple times, so put a * in front
of it, and --user-unit can have an =, and should be looking for the
USER_UNIT not _SYSTEMD_USER_UNIT.
---
shell-completion/zsh/_journalctl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
Also fix the random lack of completion
---
I think that it has something to do with the function being called the same
thing as the command. I don't know, but renaming it to something that is
actually more descriptive makes it work.
Makefile.am | 1 +
On Mon, Jul 29, 2013 at 05:10:34PM -0500, William Giokas wrote:
On Tue, Jul 30, 2013 at 12:05:00AM +0200, Michael Biebl wrote:
One of the main reasons why the bash completion was split into
separate files named after the individual binary, is that
bash-completion will load the completions
---
Makefile.am | 3 ++-
shell-completion/zsh/_systemd | 30 +-
shell-completion/zsh/_systemd-inhibit | 27 +++
3 files changed, 30 insertions(+), 30 deletions(-)
create mode 100644
---
Makefile.am | 1 +
shell-completion/zsh/_systemd | 28 +---
shell-completion/zsh/_systemd-analyze | 26 ++
3 files changed, 28 insertions(+), 27 deletions(-)
create mode 100644
---
shell-completion/zsh/_systemd | 13 -
1 file changed, 13 deletions(-)
diff --git a/shell-completion/zsh/_systemd b/shell-completion/zsh/_systemd
index 8eced09..1addfa5 100644
--- a/shell-completion/zsh/_systemd
+++ b/shell-completion/zsh/_systemd
@@ -102,19 +102,6 @@ _ctls()
---
Makefile.am | 3 +++
shell-completion/zsh/_machinectl | 47 ++
shell-completion/zsh/_systemd| 49 +---
3 files changed, 51 insertions(+), 48 deletions(-)
create mode 100644
Actually displays a list of boot ID's and offsets to the user
---
shell-completion/zsh/_journalctl | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/shell-completion/zsh/_journalctl b/shell-completion/zsh/_journalctl
index 440e35d..4409fd7 100644
---
You can choose to have systemd-tmpfiles at configuration time, so only
install the completion for this if configured to do so.
---
Makefile.am| 3 +++
shell-completion/zsh/_systemd | 12 +---
shell-completion/zsh/_systemd-tmpfiles | 10 ++
3
---
Makefile.am | 1 +
shell-completion/zsh/_systemctl | 340
shell-completion/zsh/_systemd | 327 +-
3 files changed, 342 insertions(+), 326 deletions(-)
create mode 100644
---
Makefile.am| 3 ++
shell-completion/zsh/_loginctl | 112 +
shell-completion/zsh/_systemd | 109 +--
3 files changed, 116 insertions(+), 108 deletions(-)
create mode 100644
---
Makefile.am | 3 +++
shell-completion/zsh/_hostnamectl | 38 ++
shell-completion/zsh/_systemd | 34 +-
3 files changed, 42 insertions(+), 33 deletions(-)
create mode 100644
Re-ordered some of the options and added a few that were missing
previously as well.
---
Makefile.am | 1 +
shell-completion/zsh/_journalctl | 83
shell-completion/zsh/_systemd| 70 +
3 files
---
Makefile.am | 3 ++
shell-completion/zsh/_localectl | 89 +
shell-completion/zsh/_systemd | 86 +--
3 files changed, 93 insertions(+), 85 deletions(-)
create mode 100644
---
Makefile.am | 3 +++
shell-completion/zsh/_systemd | 38 +--
shell-completion/zsh/_systemd-coredumpctl | 34 +++
3 files changed, 38 insertions(+), 37 deletions(-)
create mode 100644
---
Makefile.am | 3 ++
shell-completion/zsh/_systemd | 67 +---
shell-completion/zsh/_timedatectl | 71 +++
3 files changed, 75 insertions(+), 66 deletions(-)
create mode 100644
---
Makefile.am | 1 +
shell-completion/zsh/_systemd | 142 +-
shell-completion/zsh/_udevadm | 141 +
3 files changed, 143 insertions(+), 141 deletions(-)
create mode 100644
---
Makefile.am | 1 +
shell-completion/zsh/_systemd| 26 +-
shell-completion/zsh/_systemd-nspawn | 24
3 files changed, 26 insertions(+), 25 deletions(-)
create mode 100644 shell-completion/zsh/_systemd-nspawn
Moved zsh shell completion to shell-completion/zsh/_systemd for
automake's sake. Also allow users to specify where the files should go
with::
./configure --with-zshcompletiondir=/path/to/some/where
and by default going to `$datadir/zsh/site-functions`
---
My server is down for maintenance, so
On Mon, Jul 29, 2013 at 04:07:31PM +0200, Zbigniew Jędrzejewski-Szmek wrote:
On Thu, Jul 25, 2013 at 02:00:06PM -0500, William Giokas wrote:
Moved zsh shell completion to shell-completion/zsh/_systemd for
automake's sake. Also allow users to specify where the files should go
with::
Makes
On Mon, Jul 29, 2013 at 12:23:54PM -0500, William Giokas wrote:
On Mon, Jul 29, 2013 at 04:07:31PM +0200, Zbigniew Jędrzejewski-Szmek wrote:
On Thu, Jul 25, 2013 at 02:00:06PM -0500, William Giokas wrote:
Moved zsh shell completion to shell-completion/zsh/_systemd for
automake's sake
)
William Giokas (15):
shell-completion: fix zsh completion installation
shell-comp: Split out zsh _systemctl
shell-comp: Split out zsh _loginctl
shell-comp: Split out zsh _hostnamectl
shell-comp: Split out zsh
On Mon, Jul 29, 2013 at 04:07:31PM +0200, Zbigniew Jędrzejewski-Szmek wrote:
On Thu, Jul 25, 2013 at 02:00:06PM -0500, William Giokas wrote:
Moved zsh shell completion to shell-completion/zsh/_systemd for
automake's sake. Also allow users to specify where the files should go
with::
Makes
On Mon, Jul 29, 2013 at 02:53:17PM -0500, William Giokas wrote:
All,
This patch set splits out the zsh completion into 13 distinct files that
are installed separately, similar to the bash completion system. There
is also a final commit that changes the journalctl completion to work
On Tue, Jul 30, 2013 at 12:05:00AM +0200, Michael Biebl wrote:
2013/7/29 William Giokas 1007...@gmail.com:
This patch set splits out the zsh completion into 13 distinct files that
are installed separately, similar to the bash completion system. There
One of the main reasons why the bash
Moved zsh shell completion to shell-completion/zsh/_systemd for
automake's sake. Also allow users to specify where the files should go
with::
./configure --with-zshcompletiondir=/path/to/some/where
and by default going to `$datadir/zsh/site-functions`
---
Honestly, this is my first foray into
Moved zsh shell completion to shell-completion/zsh/_systemd for
automake's sake. Also allow users to specify where the files should go
with::
./configure --with-zshcompletiondir=/path/to/some/where
and by default going to `$datadir/zsh/vendor-functions`
---
Makefile.am
-0500, William Giokas wrote:
Moved zsh shell completion to shell-completion/zsh/_systemd for
automake's sake. Also allow users to specify where the files should go
with::
./configure --with-zshcompletiondir=/path/to/some/where
and by default going to `$datadir/zsh/vendor-functions`
Please
On Thu, Jul 25, 2013 at 07:02:14PM -0500, William Giokas wrote:
On Fri, Jul 26, 2013 at 12:41:11AM +0200, Michael Biebl wrote:
I was told [1], the directory for 3rd party packages would be
/usr/share/zsh/vendor-completions. But I'm not a zsh user, so I'm just
paroting what I read
?
No, each suffix you mentioned above has a specific usage and type. If
you look at systemd.unit(5) you can see most of the unit types and what
they do.
http://www.freedesktop.org/software/systemd/man/systemd.unit.html
Thanks,
--
William Giokas | KaiSforza | http://kaictl.net/
GnuPG Key: 0x73CD09CF
New options:
* -e, --pager-end
* -r, --reverse
* -x, --catalog
* -k, --dmesg
* --after-cursor
* --file
* --root
* --dump-catalog
* --force
Modified options:
* --this-boot - --boot=
Also reorganized the options to match the manual page, similar to
systemctl.
---
Using --boot now completes to
Added a few flags:
* --state=
* --irreversible
* --show-type
* -i, --ignore-inhibitors
* --plain
Also arranged the flags as they are in the manual page. This way, as new
options are added they can more easily be added to the zsh completion as
well.
---
I can always put the order back, but this
'... or ... or ...' should be '..., ... or ...'
---
man/systemctl.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/man/systemctl.xml b/man/systemctl.xml
index ee13a70..0a90202 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -111,8 +111,8 @@ along with systemd;
On Tue, Jul 23, 2013 at 09:41:44AM -0500, William Giokas wrote:
+'--state=[Display units in the specifyied state]:unit
state:(loaded failed active inactive not-found listening running waiting
plugged mounted exited dead masked)' \
I'm probably missing things here. If there's
---
shell-completion/systemd-zsh-completion.zsh | 49 -
1 file changed, 48 insertions(+), 1 deletion(-)
diff --git a/shell-completion/systemd-zsh-completion.zsh
b/shell-completion/systemd-zsh-completion.zsh
index c85e00e..6415be7 100644
---
---
Add optional '=' to --property
shell-completion/systemd-zsh-completion.zsh | 49 -
1 file changed, 48 insertions(+), 1 deletion(-)
diff --git a/shell-completion/systemd-zsh-completion.zsh
b/shell-completion/systemd-zsh-completion.zsh
index c85e00e..b62b6df
---
This has been bothering me for way too long. This should be caught when
make check is run, and things shouldn't make it past the CI service till it
actually passes make check. This even managed to make it to the systemd 205
release version.
po/POTFILES.skip | 1 +
1 file changed, 1
for
simple reasons like translations missing or not being in the right
places. These should be caught by jenkins and reported to the IRC
channel. I realize that some files have been added recently, but they
need to be fully added, not just thrown into the pot (pun not intended).
Thanks,
--
William Giokas
as of 49e5de64e22ea4794092b91393545ab08e658e0a for me.
--
William Giokas | KaiSforza
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306 E6B8 6902 06D8 73CD 09CF
pgpJIoQMrYvOr.pgp
Description: PGP signature
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http
f0149310330408ced1e5e212bc5ef3684e3395da M Makefile.am
:04 04 389f403c2b93728e572bbc45f52803d5ed50225f
8d6a4318a1637cf7cc2f19605ca54f669891eef7 M src
Thanks,
--
William Giokas | KaiSforza
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306 E6B8 6902 06D8 73CD 09CF
pgpprNibdLGuO.pgp
In systemd-bootchart, the disk model information will not be found
unless the root device is specified using `root=/dev/sdxY` on the kernel
line. Just add a note as to why this doesn't happen.
---
man/systemd-bootchart.xml | 4
1 file changed, 4 insertions(+)
diff --git
In systemd-bootchart, the disk model information will not be found
unless the root device is specified using `root=/dev/sdxY` on the kernel
line. Just add a note as to why this doesn't happen.
---
Sorry, forgot to pull. Rebased.
man/systemd-bootchart.xml | 4
1 file changed, 4
Recent changes in config options makes almost eveny variable in the man
page obsolete.
---
man/bootchart.conf.xml | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/man/bootchart.conf.xml b/man/bootchart.conf.xml
index fb6e274..1e440eb 100644
---
Mostly coppied from bootchart.conf(5)
Signed-off-by: William Giokas 1007...@gmail.com
---
man/systemd-bootchart.xml | 92 +--
1 file changed, 89 insertions(+), 3 deletions(-)
diff --git a/man/systemd-bootchart.xml b/man/systemd-bootchart.xml
index
Option listings seemed to be pretty much random, some were short opt,
long opt, others were long opt, short opt. This just makes every option
with a short and long opt that I could find in the order short opt, long
opt, for formatting's sake.
Signed-off-by: William Giokas 1007...@gmail.com
os-release is required for systemd now, so use that file and stop
printing 'Unknown' on the bootchart.
---
src/bootchart/svg.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c
index d7c4168..ec81da9 100644
---
As of [1], bootchart stores files in /run/log, not /var/log, by default.
[1] f2f85884caac671da84256acb44148df9a4dca70
---
man/bootchart.conf.xml | 2 +-
man/systemd-bootchart.xml| 2 +-
src/bootchart/README | 2 +-
src/bootchart/bootchart.conf | 2 +-
src/bootchart/svg.c
On Wed, Feb 13, 2013 at 09:57:56PM +0100, Zbigniew Jędrzejewski-Szmek wrote:
On Wed, Feb 13, 2013 at 02:49:24PM -0600, William Giokas wrote:
As of [1], bootchart stores files in /run/log, not /var/log, by default.
[1] f2f85884caac671da84256acb44148df9a4dca70
---
man/bootchart.conf.xml
Essentially transfer the 'README' file in src/bootchart to the man page
for easier reading by users.
---
man/systemd-bootchart.xml | 144 +-
1 file changed, 130 insertions(+), 14 deletions(-)
diff --git a/man/systemd-bootchart.xml
Essentially transfer the 'README' file in src/bootchart to the man page
for easier reading by users.
---
man/systemd-bootchart.xml | 120 --
1 file changed, 106 insertions(+), 14 deletions(-)
diff --git a/man/systemd-bootchart.xml
Essentially transfer the 'README' file in src/bootchart to the man page
for easier reading by users.
---
I don't think that this is a good idea. It mixes semantic and visual
markup and it'll confuse make-directive-index.py badly.
Maybe termemphasisOriginal bash//?
I see your point. Fixed in
a few fixes:
* Chrome/Chromium, firefox - Chrome, Chromium or Firefox
* much more slow - much slower
* this plot was generated - This plot was generated
* etc.. - etc.
-SNIP-
Thanks,
--
William Giokas | KaiSforza
GnuPG Key: 0xE99A7F0F
Fingerprint: F078 CFF2 45E8 1E72 6D5A 8653 CDF5 E7A5 E99A
=67e04a486b92fcb656049cb4d6b66148c7d2e61b
I'm too much of a newbie to compile systemd from git on Arch just yet.
Unless git is packaged somewhere?
There's a PKGBUILD[0] for it, actually.
[0] https://aur.archlinux.org/packages/systemd-git/
--
William Giokas | KaiSforza
GnuPG Key: 0xE99A7F0F
Fingerprint: F078
and how it's getting started. Again, feel free
to ignore me, I don't know how feasible or practical this would be, but
it seems like it would be useful.
Again, sorry that I cannot put something together myself to at least
show you.
Thank you for your time.
--
William Giokas | KaiSforza
GnuPG Key
, this is something I thought of, and if it is simply a flag when
invoking systemctl (such as `systemctl --verbose start unit`), then it
would not introduce anything to the boot/poweroff output.
--
William Giokas | KaiSforza
GnuPG Key: 0xE99A7F0F
Fingerprint: F078 CFF2 45E8 1E72 6D5A 8653 CDF5 E7A5
77 matches
Mail list logo