Zbigniew Jędrzejewski-Szmek
f29c77bc01
shell-completion: fix completion of inactive units
...
Units which not loaded were not proposed properly. OTOH, we should
filter units from get-unit-files by their state if they are currently
loaded. Bring zsh completions in line with bash completion, the same
logic should be used in both implementations.
https://bugzilla.redhat.com/show_bug.cgi?id=1024379
https://bugzilla.redhat.com/show_bug.cgi?id=790768
https://bugs.freedesktop.org/show_bug.cgi?id=84720
2014-10-14 21:18:42 -04:00
Dave Reisner
ec15977a3c
completion: filter templates from restartable units
...
Since c6a373a263 , we might encounter unit templates via the
'list-units' verb. These aren't restartable (and we throw errors), so
make sure they're filtered out of the completion options.
fixes downstream bug: https://bugs.archlinux.org/task/41719
2014-08-29 20:40:38 -04:00
Eric Cook
c317a1a19c
shell-completion: prevent mangling unit names (bash)
...
This fixes the issue noted by Zbigniew in most cases.
if a unit's name is enclosed in single quotes completion still
will not happen after the first `\'.
https://bugs.freedesktop.org/show_bug.cgi?id=78388
2014-07-27 15:27:16 -04:00
Zbigniew Jędrzejewski-Szmek
c6a373a263
bash-completion: use list-unit-files to get "all" units
...
I think that it is better to return good results slightly more slowly,
than partial quickly. Also reading from disk seems fast enough. Even
the delay on first try with completely cold cache is acceptable.
This is just for bash, 'cause zsh was already doing this.
https://bugzilla.redhat.com/show_bug.cgi?id=790768
2014-07-26 20:15:38 -04:00
Zbigniew Jędrzejewski-Szmek
2c12a402cb
shell-completion: systemd-analyze verify, systemctl link
...
Some zsh completion helpers were not installed, so completion
was broken.
Add systemd-analyze verify. Make systemctl link complete only
unit names.
2014-07-21 22:33:51 -04:00
Zbigniew Jędrzejewski-Szmek
be8f4a9fa7
bash-completion: -p option for journalctl
2014-07-19 19:47:10 -04:00
Zbigniew Jędrzejewski-Szmek
c0a67aef31
shell-completion: restore completion for -p
...
It was broken since systemd was moved out of /bin.
For zsh it was never there.
2014-07-15 10:06:12 -04:00
Zbigniew Jędrzejewski-Szmek
ccb03ac39d
shell-completion: add hostnamectl set-deployment
2014-07-11 09:22:01 -04:00
Zbigniew Jędrzejewski-Szmek
1ed7749564
shell-completion,man: beef up chassis completions and description
...
Parameters to hostnamectl command are not optional and should not be marked
as such in the man page.
2014-07-11 09:22:00 -04:00
Lennart Poettering
f4bab1690e
coredump: coredumpctl is so useful now, make it a first-class citizen
...
Drop the "systemd-" prefix, renaming it from "systemd-coredumpctl" to
"coredumpctl".
2014-06-19 13:46:01 +02:00
Dan Kilman
a163b64c4b
bash completion: fix __get_startable_units
2014-04-13 11:39:43 -04:00
Thomas Hindoe Paaboel Andersen
5ba85788ab
bash completion: add -i/--image to nspawn
2014-04-11 00:49:05 +02:00
Kay Sievers
51e430a5b0
bash_completion: busctl - add support for --user mode
2014-04-04 08:24:22 -04:00
Thomas Hindoe Paaboel Andersen
085ebc1b22
bash completion: Add -r/--recursive to systemctl
2014-04-03 22:54:41 +02:00
Lennart Poettering
0088d63151
systemctl: --kill-mode is long long gone, don't mention it in the man page
2014-03-25 00:31:48 +01:00
Thomas Hindoe Paaboel Andersen
761a7c71b6
systemd-run: extend bash completion
...
--system
-H --host
-M --machine
--service-type (options: simple forking oneshot dbus notify idle)
--uid
--gid
--nice
--setenv
-p --property (options read from bus_append_unit_property_assignment)
2014-03-17 22:02:21 +01:00
Thomas Hindoe Paaboel Andersen
207017017d
add bash completion for systemd-cat
2014-03-04 23:17:07 +01:00
Thomas Hindoe Paaboel Andersen
3bfe58cbd4
add bash completion for systemd-detect-virt
2014-03-03 22:18:37 +01:00
Thomas Hindoe Paaboel Andersen
64ae7f1864
update bash completion for systemd-analyze
2014-03-03 22:18:32 +01:00
Thomas Hindoe Paaboel Andersen
d9256bac4d
add bash completion for systemd-cgtop
2014-03-02 23:07:35 +01:00
Thomas Hindoe Paaboel Andersen
abdab4f602
add bash completion for systemd-cgls
2014-03-01 23:10:38 +01:00
Thomas Andersen
0d6883b6a8
bash: add completion for systemd-nspawn
2014-03-01 03:30:41 +01:00
Lennart Poettering
538b08707a
build-sys: add missing makefile symlinks
2014-02-26 02:19:28 +01:00
Thomas Hindoe Paaboel Andersen
95fe27d930
bootctl: add bash completion
2014-02-20 23:13:11 +01:00
Thomas Hindoe Paaboel Andersen
17d47d8d2d
busctl: add --no-legend and use in bash completion
2014-02-19 17:35:35 +01:00