summaryrefslogtreecommitdiff
path: root/shell-completion
AgeCommit message (Collapse)Author
2015-01-21zsh-completion: Do not interpret escape sequences in _filter_units_by_propertyWieland Hoffmann
This makes all functions that rely on _filter_units_by_property() (like _systemctl_{stop,kill,try_restart}) work with unit names that contain backslash escaped sequences (like automount units with spaces that are escaped to "\x20").
2015-01-15fix zsh completion typoMoez Bouhlel
json-see => json-sse
2015-01-12zsh-completion: add missing completions for systemd-tmpfilesRonny Chevalier
2015-01-12zsh-completion: add missing completions for systemd-runRonny Chevalier
2015-01-12zsh-completion: add missing completions for systemd-analyzeRonny Chevalier
2015-01-12zsh-completion: add missing -M completion for timedatectlRonny Chevalier
2015-01-12zsh-completion: add missing completions for coredumpctlRonny Chevalier
2015-01-09shell-completion: add missing output modesRonny Chevalier
https://bugs.freedesktop.org/show_bug.cgi?id=88216
2015-01-08bash-completion: systemd-nspawn updateCarlos Morata Castillo
*Autocompletion for dirs, doesn't leave until you press space. *Added tmpfs, volatile and network-macvlan options. I tried with the SELinux options with seinfo(setools-console), but too messy to get it right. Even Daniel Walsh haven't done it yet. :)
2014-12-23shell-completion: add full support for completing busctl command lines, with ↵Lennart Poettering
services, objects, interfaces, members, and signatures
2014-12-10zsh-completion: remove duplicate functionsystemd/v218Zbigniew Jędrzejewski-Szmek
https://bugs.archlinux.org/task/43069
2014-12-10shell-completion: systemctl editRonny Chevalier
2014-11-06hostnamed: introduce new "embedded" chassis typeLennart Poettering
We really don't want to get lost in adding fridge, car, plane, drone, or whatever else, hence add a generic term "embedded" cover all the cases where the computer is just part of something bigger, and not at the focus of things.
2014-10-29zsh-completion: update start/restart completionsZbigniew Jędrzejewski-Szmek
Now zsh should behave the same for those two subcommands as bash.
2014-10-29bash-completion: use improved filtering to make things fasterZbigniew Jędrzejewski-Szmek
2014-10-29bash-completion: rework startable/restartable units once moreZbigniew 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-27shell-completion: systemctl set-default,get-default,is-system-runningZbigniew Jędrzejewski-Szmek
2014-10-19shell-completion/bash: add add-wants and add-requiresLukas Nykryn
2014-10-14shell-completion: propose templates for disable/[re]enable/[re]startZbigniew 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-14shell-completion: fix completion of inactive unitsZbigniew 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-09-27shell-completion(zsh): journalctl's -b changesEric Cook
removed pointless index sort of bootids. use `compadd -a' to add each array, instead of expanding possibly hundreds of words needlessly. optional completion of -b
2014-09-25readahead: wipe out readaheadDaniel Buch
2014-08-29completion: filter templates from restartable unitsDave 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-27shell-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-26bash-completion: use list-unit-files to get "all" unitsZbigniew 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-26shell-completion: prevent mangling unit namesEric Cook
Units with literal hex '\xFF' in their names has to be read and printed properly. dev-disk-byx2dlabel-root.device != dev-disk-by\x2dlabel-root.device
2014-07-21shell-completion: systemd-analyze verify, systemctl linkZbigniew 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-19bash-completion: -p option for journalctlZbigniew Jędrzejewski-Szmek
2014-07-15shell-completion: restore completion for -pZbigniew Jędrzejewski-Szmek
It was broken since systemd was moved out of /bin. For zsh it was never there.
2014-07-11shell-completion: add hostnamectl set-deploymentZbigniew Jędrzejewski-Szmek
2014-07-11shell-completion,man: beef up chassis completions and descriptionZbigniew Jędrzejewski-Szmek
Parameters to hostnamectl command are not optional and should not be marked as such in the man page.
2014-06-19coredump: coredumpctl is so useful now, make it a first-class citizenLennart Poettering
Drop the "systemd-" prefix, renaming it from "systemd-coredumpctl" to "coredumpctl".
2014-04-13bash completion: fix __get_startable_unitsDan Kilman
2014-04-11bash completion: add -i/--image to nspawnThomas Hindoe Paaboel Andersen
2014-04-04bash_completion: busctl - add support for --user modeKay Sievers
2014-04-03bash completion: Add -r/--recursive to systemctlThomas Hindoe Paaboel Andersen
2014-03-25completions: fix/augment zsh completions for systemd-nspawn, busctl, ↵Daniel Mack
loginctl, hostnamectl, localectl, machinectl
2014-03-25systemctl: --kill-mode is long long gone, don't mention it in the man pageLennart Poettering
2014-03-17systemd-run: extend bash completionThomas 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-15_sd_machines: Use machinectl --no-legendWieland Hoffmann
Otherwise bogus entries from the header and footer would show up in the completion list.
2014-03-04add bash completion for systemd-catThomas Hindoe Paaboel Andersen
2014-03-03add bash completion for systemd-detect-virtThomas Hindoe Paaboel Andersen
2014-03-03update bash completion for systemd-analyzeThomas Hindoe Paaboel Andersen
2014-03-02add bash completion for systemd-cgtopThomas Hindoe Paaboel Andersen
2014-03-01add bash completion for systemd-cglsThomas Hindoe Paaboel Andersen
2014-03-01bash: add completion for systemd-nspawnThomas Andersen
2014-02-26build-sys: add missing makefile symlinksLennart Poettering
2014-02-21replace tabs with spaces in some filesJason St. John
Files: * hwdb/60-keyboard.hwdb * shell-completion/zsh/_systemd-coredumpctl * src/test/test-helper.h
2014-02-20bootctl: add bash completionThomas Hindoe Paaboel Andersen
2014-02-19busctl: add --no-legend and use in bash completionThomas Hindoe Paaboel Andersen