summaryrefslogtreecommitdiff
path: root/shell-completion/bash
AgeCommit message (Collapse)Author
2015-10-09shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin
2015-10-09shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin
See: * 602b83559a7cfcd3eee05 * b9c50073fcc1460ca1ff3
2015-10-08shell-completion: add pseudo machine ".host" to shell completionLennart Poettering
2015-10-08shell-completion: add "machinectl shell" to bash completion logicLennart Poettering
2015-09-30Merge pull request #1419 from keszybz/shell-completionLennart Poettering
Shell completion tweaks
2015-09-30shell-completion: journalctl: add --rotateEvgeny Vereshchagin
2015-09-28bash-completion: remove one more sort and sub-shellZbigniew Jędrzejewski-Szmek
{} is preferred to (), because the first is just grouping, while the second invokes a separate shell.
2015-09-28bash-completion: use builtins when generating listZbigniew Jędrzejewski-Szmek
2015-09-28bash-completion: use builtins when generating listZbigniew Jędrzejewski-Szmek
awk is an external program, and it is better to stick to shell built-ins. Also, even with external awk, sort -u is redundant, because the shell does this on its own.
2015-09-28shell-completion: use systemctl --state=helpZbigniew Jędrzejewski-Szmek
This way completion lists should stay up to date. Also use systemctl -t help to list types in zsh, as was already done in bash.
2015-09-26shell-completion: nspawn: add missing values for --link-journalEvgeny Vereshchagin
2015-09-25shell-completion: journalctl: add missing optionsEvgeny Vereshchagin
2015-09-25shell-completion: journalctl: add missing fieldsEvgeny Vereshchagin
2015-09-21shell-completion: cgtop bash completion: add -r,--raw,-k,-P,--orderEvgeny Vereshchagin
2015-09-21shell-completion: cgtop bash completion: -n,--iterations,-d,--delay require argEvgeny Vereshchagin
2015-09-21shell-completion: update systemd-cgtop bash completion: --recursiveEvgeny Vereshchagin
2015-09-21cgtop: add -M/--machineEvgeny Vereshchagin
2015-09-07shell-completion: update systemd-analyze bash-completionEvgeny Vereshchagin
* Change --no-man to --man (see dad29df) * --{from,to}-pattern require arg
2015-09-04shell-completion: update systemctl bash completionEvgeny Vereshchagin
Many new options have been added since the bash completion was last updated.
2015-09-01run: enable interactive authorizationEvgeny Vereshchagin
2015-08-31shell-completion: bash: add systemd-path completionEvgeny Vereshchagin
2015-08-28shell-completion: bash: add networkctl completionEvgeny Vereshchagin
2015-08-28shell-completion: add `failed` state to --state compwordsEvgeny Vereshchagin
2015-08-27shell-completion: update systemd-run bash completionEvgeny Vereshchagin
Many new options have been added since the bash completion was last updated.
2015-08-18shell-completion: bash: make list-transfers and cancel-transfer STANDALONESeth Jennings
list-transfers and cancel-transfers don't take machine arguments.
2015-08-18shell-completion: bash: add image transfer subcommandsSeth Jennings
2015-08-16Merge pull request #931 from spartacus06/update-completion-machinectlLennart Poettering
Update shell completion for machinectl
2015-08-16shell-completion: use list-images rather than listSeth Jennings
"machinectl list" only lists running machines while many of the MACHINES commands use names of images; both running and non-running. List machines from both "list" and "list-images" and use sort -u to avoid duplicates.
2015-08-16shell-completion: update machinectl bash completionSeth Jennings
Many new subcommands have been added since the bash completion was last updated. Bring it up to speed.
2015-08-16bash-completion: generate unit type list from systemctl -t help optionEvgeny Vereshchagin
2015-05-18Use "new" --job-mode= option in more placesZbigniew Jędrzejewski-Szmek
--irreversible/--ignore-dependencies/--fail are deprececated since 4dc5b821ae737914499119e29811fc3346e3d97c. Also add shell completions for --jobs-mode.
2015-04-08shell-completion: systemctl switch-root verbZbigniew Jędrzejewski-Szmek
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-07logind,systemctl: add reboot to EFI firmware supportJan Janssen
2015-01-29Updates in bash autocompletionsCarlos Morata Castillo
Hi, I did ./check-undocumented.sh -b (my script just submitted) and checked the results. Cheers.
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-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-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-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-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