Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-29 | bash-completion: rework startable/restartable units once more | Zbigniew Jędrzejewski-Szmek | |
I tried to use 'systemctl --all list-units' to filter unit files, but this always filters out unit files which are not loaded. We want to complete systemctl start with those units too, so this approach is not going to work. New version is rather slow, but hopefully correct. | |||
2014-10-27 | shell-completion: systemctl set-default,get-default,is-system-running | Zbigniew Jędrzejewski-Szmek | |
2014-10-19 | shell-completion/bash: add add-wants and add-requires | Lukas Nykryn | |
2014-10-14 | shell-completion: propose templates for disable/[re]enable/[re]start | Zbigniew Jędrzejewski-Szmek | |
Templates can be [re]enabled, on their own if the have DefaultInstance set, and with an instance suffix in all cases. Propose just the template name ending in @, to underline the instance suffix may have to be appended. Likewise for start/restart. This means that sometimes superflous units that one will not really want to operate on will be proposed, but this seems better than proposing a very incomplete set of names. https://bugs.freedesktop.org/show_bug.cgi?id=66912 | |||
2014-10-14 | shell-completion: fix completion of inactive units | Zbigniew Jędrzejewski-Szmek | |
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-08-29 | completion: filter templates from restartable units | Dave Reisner | |
Since c6a373a2634854, 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-07-27 | shell-completion: prevent mangling unit names (bash) | Eric Cook | |
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-26 | bash-completion: use list-unit-files to get "all" units | Zbigniew Jędrzejewski-Szmek | |
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-21 | shell-completion: systemd-analyze verify, systemctl link | Zbigniew Jędrzejewski-Szmek | |
Some zsh completion helpers were not installed, so completion was broken. Add systemd-analyze verify. Make systemctl link complete only unit names. | |||
2014-07-19 | bash-completion: -p option for journalctl | Zbigniew Jędrzejewski-Szmek | |
2014-07-15 | shell-completion: restore completion for -p | Zbigniew Jędrzejewski-Szmek | |
It was broken since systemd was moved out of /bin. For zsh it was never there. | |||
2014-07-11 | shell-completion: add hostnamectl set-deployment | Zbigniew Jędrzejewski-Szmek | |
2014-07-11 | shell-completion,man: beef up chassis completions and description | Zbigniew Jędrzejewski-Szmek | |
Parameters to hostnamectl command are not optional and should not be marked as such in the man page. | |||
2014-06-19 | coredump: coredumpctl is so useful now, make it a first-class citizen | Lennart Poettering | |
Drop the "systemd-" prefix, renaming it from "systemd-coredumpctl" to "coredumpctl". | |||
2014-04-13 | bash completion: fix __get_startable_units | Dan Kilman | |
2014-04-11 | bash completion: add -i/--image to nspawn | Thomas Hindoe Paaboel Andersen | |
2014-04-04 | bash_completion: busctl - add support for --user mode | Kay Sievers | |
2014-04-03 | bash completion: Add -r/--recursive to systemctl | Thomas Hindoe Paaboel Andersen | |
2014-03-25 | systemctl: --kill-mode is long long gone, don't mention it in the man page | Lennart Poettering | |
2014-03-17 | systemd-run: extend bash completion | Thomas Hindoe Paaboel Andersen | |
--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-04 | add bash completion for systemd-cat | Thomas Hindoe Paaboel Andersen | |
2014-03-03 | add bash completion for systemd-detect-virt | Thomas Hindoe Paaboel Andersen | |
2014-03-03 | update bash completion for systemd-analyze | Thomas Hindoe Paaboel Andersen | |
2014-03-02 | add bash completion for systemd-cgtop | Thomas Hindoe Paaboel Andersen | |
2014-03-01 | add bash completion for systemd-cgls | Thomas Hindoe Paaboel Andersen | |
2014-03-01 | bash: add completion for systemd-nspawn | Thomas Andersen | |
2014-02-26 | build-sys: add missing makefile symlinks | Lennart Poettering | |
2014-02-20 | bootctl: add bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-19 | busctl: add --no-legend and use in bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-19 | busctl: update bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-18 | delta: add bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-18 | machinectl: add bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-06 | shell-completion: fix completion of localectl set-locale | Zbigniew Jędrzejewski-Szmek | |
https://bugs.freedesktop.org/show_bug.cgi?id=74157 | |||
2014-02-06 | bash-completion: fix completion of complete verbs | Zbigniew Jędrzejewski-Szmek | |
When doing 'command verb<TAB>', the arguments for verb would be proposed, but it is too early. We should complete verb first. https://bugs.freedesktop.org/show_bug.cgi?id=74596 | |||
2014-01-15 | shell-completion: remove load from systemctl | Lukas Nykryn | |
2013-12-26 | Revert "completion: don't offer completions for journalctl -b" | Lennart Poettering | |
This reverts commit c756a6d57cdb678b702c68913dae3e11ff0427ae. | |||
2013-12-25 | completion: don't offer completions for journalctl -b | Dave Reisner | |
Since this is a shortopt with an optional argument, assume the user knows what they're doing. The longopts --boot and --this-boot will continue to offer boot IDs as completions. | |||
2013-12-21 | loginctl,shell-completions: fix listing of sessions/users/seats | Zbigniew Jędrzejewski-Szmek | |
2013-12-05 | shell-completion: busctl | Zbigniew Jędrzejewski-Szmek | |
2013-11-30 | shell-completion: systemctl cat | Zbigniew Jędrzejewski-Szmek | |
Also update -H help string to follow the binaries. | |||
2013-11-15 | bash-completion: journalctl --file | Zbigniew Jędrzejewski-Szmek | |
2013-11-11 | shell: add list-timers to systemctl completions | Dave Reisner | |
2013-10-29 | udev: builtin - rename net_link to net_setup_link | Tom Gundersen | |
Also add shell completions. | |||
2013-10-28 | journalctl: add --list-boots to show boot IDs and times | Zbigniew Jędrzejewski-Szmek | |
Suggested by David Wilkins <dwilkins@maths.tcd.ie> in https://bugzilla.redhat.com/show_bug.cgi?id=967521: > [Specific boot ID is a] bit of a palaver to obtain. I consulted the > verbose dump of the journal to discover the _BOOT_ID for the > timestamp, and then generated the journal dump for that boot using > journalctl _BOOT_ID=foo -o short-monotonic. | |||
2013-10-21 | shell-completion: dump has moved to systemd-analyze | Zbigniew Jędrzejewski-Szmek | |
Rename NO_OPTION to STANDALONE for consistency with other files. | |||
2013-09-20 | completion/systemctl: add missing list-sockets verb | Dave Reisner | |
2013-09-12 | bash-completion: add systemd-run | Zbigniew Jędrzejewski-Szmek | |
2013-08-28 | shell-completions: systemd-analyze set-log-level | Zbigniew Jędrzejewski-Szmek | |
2013-08-12 | shell-completion: tell bash about --state | Zbigniew Jędrzejewski-Szmek | |
2013-07-30 | bash-completion: simplify udevadm completion | Dave Reisner | |
The AA is unnecessary and only adds needless complexity. Replace it with a case statement instead of repeatedly calling __contains_word to overglorify string equalities. |