summaryrefslogtreecommitdiff
path: root/shell-completion
AgeCommit message (Collapse)AuthorFilesLines
2015-04-08shell-completion: systemctl switch-root verbZbigniew Jędrzejewski-Szmek2-1/+6
The completion is rudimentary (all files). I think this is OK since this is used so rarely. But not having it proposed at all is annoying.
2015-04-08zsh-completion: update hostnamectlRonny Chevalier1-1/+11
2015-04-08zsh-completion: add missing -M completion for journalctlRonny Chevalier1-0/+1
2015-04-08zsh-completion: update loginctlRonny Chevalier1-2/+3
2015-04-07logind,systemctl: add reboot to EFI firmware supportJan Janssen2-1/+2
2015-01-29Updates in bash autocompletionsCarlos Morata Castillo8-11/+17
Hi, I did ./check-undocumented.sh -b (my script just submitted) and checked the results. Cheers.
2015-01-26treewide: fix multiple typosTorstein Husebø1-1/+1
2015-01-21zsh-completion: Do not interpret escape sequences in _filter_units_by_propertyWieland Hoffmann1-1/+1
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 Bouhlel1-1/+1
json-see => json-sse
2015-01-12zsh-completion: add missing completions for systemd-tmpfilesRonny Chevalier1-1/+4
2015-01-12zsh-completion: add missing completions for systemd-runRonny Chevalier1-0/+13
2015-01-12zsh-completion: add missing completions for systemd-analyzeRonny Chevalier1-5/+9
2015-01-12zsh-completion: add missing -M completion for timedatectlRonny Chevalier1-0/+1
2015-01-12zsh-completion: add missing completions for coredumpctlRonny Chevalier1-0/+3
2015-01-09shell-completion: add missing output modesRonny Chevalier2-2/+2
https://bugs.freedesktop.org/show_bug.cgi?id=88216
2015-01-08bash-completion: systemd-nspawn updateCarlos Morata Castillo1-6/+34
*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 Poettering1-8/+101
services, objects, interfaces, members, and signatures
2014-12-10zsh-completion: remove duplicate functionZbigniew Jędrzejewski-Szmek1-1/+0
https://bugs.archlinux.org/task/43069
2014-12-10shell-completion: systemctl editRonny Chevalier2-2/+3
2014-11-06hostnamed: introduce new "embedded" chassis typeLennart Poettering2-2/+2
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-Szmek1-7/+21
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-Szmek1-5/+11
2014-10-29bash-completion: rework startable/restartable units once moreZbigniew Jędrzejewski-Szmek1-13/+14
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-Szmek2-4/+15
2014-10-19shell-completion/bash: add add-wants and add-requiresLukas Nykryn1-0/+12
2014-10-14shell-completion: propose templates for disable/[re]enable/[re]startZbigniew Jędrzejewski-Szmek2-11/+24
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-Szmek2-15/+18
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 Cook1-4/+4
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 Buch1-2/+1
2014-08-29completion: filter templates from restartable unitsDave Reisner1-1/+1
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 Cook1-1/+12
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-Szmek1-2/+4
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 Cook1-10/+10
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-Szmek5-4/+34
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-Szmek1-2/+7
2014-07-15shell-completion: restore completion for -pZbigniew Jędrzejewski-Szmek4-3/+18
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-Szmek2-1/+10
2014-07-11shell-completion,man: beef up chassis completions and descriptionZbigniew Jędrzejewski-Szmek3-4/+35
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 Poettering2-13/+13
Drop the "systemd-" prefix, renaming it from "systemd-coredumpctl" to "coredumpctl".
2014-04-13bash completion: fix __get_startable_unitsDan Kilman1-1/+1
2014-04-11bash completion: add -i/--image to nspawnThomas Hindoe Paaboel Andersen1-1/+4
2014-04-04bash_completion: busctl - add support for --user modeKay Sievers1-3/+10
2014-04-03bash completion: Add -r/--recursive to systemctlThomas Hindoe Paaboel Andersen1-1/+1
2014-03-25completions: fix/augment zsh completions for systemd-nspawn, busctl, ↵Daniel Mack6-7/+44
loginctl, hostnamectl, localectl, machinectl
2014-03-25systemctl: --kill-mode is long long gone, don't mention it in the man pageLennart Poettering1-4/+1
2014-03-17systemd-run: extend bash completionThomas Hindoe Paaboel Andersen1-2/+40
--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 Hoffmann1-1/+1
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 Andersen1-0/+57
2014-03-03add bash completion for systemd-detect-virtThomas Hindoe Paaboel Andersen1-0/+40
2014-03-03update bash completion for systemd-analyzeThomas Hindoe Paaboel Andersen1-1/+23