summaryrefslogtreecommitdiff
path: root/shell-completion
AgeCommit message (Collapse)Author
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-16Merge pull request #947 from evverx/bash-completionLennart Poettering
Update bash-completion: generate all unit types
2015-08-16bash-completion: generate unit type list from systemctl -t help optionEvgeny Vereshchagin
2015-08-15zsh completion: update busctlNicolas Cornu
2015-06-22zsh-completion: _loginctl/_systemd/_systemd-inhibit improvementsEric Cook
_loginctl: respects the verbose style. which allows a user to get the pre d5df0d950f8bc behavior of not showing a description for sessions and users, by default they aren't shown. zstyle ':completion:*' verbose true or zstyle ':completion:*:loginctl*:*' verbose true # or similar Will show the descriptions. zstyle ':completion:*' verbose true and zstyle ':completion:*:loginctl*:*' verbose false # or similar Won't show descriptions for loginctl only _systemd: complete pids for systemd-notify's --pid option. display a message of the expected argument for other options. _systemd-inhibit: complete block & delay for --mode display a message of the expected argument for --who/--why
2015-06-21zsh-completion: _systemd-nspawn - add more argument completionEric Cook
filenames will be completed for --image/-i/--bind/--bind-ro/--tmpfs network interfaces for --network-(interface|macvlan|ipvlan|bridge) users for --user/-u, yes & no for --register, x86 * x86-64 for --personality display a message of the expected argument for --machine/-M/--uuid --slice/-S/--port/-p/--selinux-*/-Z/-L/--setenv Allow completing commands(and their options) of the host system for COMMAND
2015-06-17zsh-completion: _loginctl - general bug fixesEric Cook
1) the iterator `fun' has an local scope. after running the completer, it will no longer be defined. 2) use _describe instead of calling compadd. Using compadd without calling _description or something similar before, restricts the user's ability to customize what is presented to them. zstyle ':completion:*' format 'Completing %d' - now displays an header showing what is being completed. zstyle ':completion::complete:loginctl-*::users' users user1 user2 - allows the user to manually specify which users is offered zstyle :completion::complete:loginctl-kill-user:\* \ ignored-patterns '(100<0-4>|user1)' - selectively ignore some users when completing loginctl kill-user <tab> Sessions, UIDs now have descriptions when selecting them. 3) removed the call to _loginctl_all_seats in _loginctl_attach(), since _loginctl_seats calls it a second time, right before adding matches. There isn't a noticeable difference doing this.
2015-06-06zsh-completion: optimize _filter_units_by_propertyDaniel Hahler
Optimize _filter_units_by_property by calling `systemctl` only once with a list of units, and not once per unit. I could not reproduce the "Unknown unit" error mentioned in a FIXME, which might have made this necessary previously.
2015-06-02Merge pull request #5 from ↵Daniel Mack
systemd-mailing-devs/1432910411-14517-1-git-send-email-llua@gmx.com zsh-completion: a more style/tag aware _systemctl
2015-06-02Merge pull request #4 from ↵Daniel Mack
systemd-mailing-devs/1431989131-25145-1-git-send-email-llua@gmx.com zsh-completion: fix completion of --user services
2015-06-01zsh-completion: fix typo in _bootctlDaniel Mack
The command is 'install', not 'instal'. Fix that typo.
2015-05-30zsh-completion: update bootctlRonny Chevalier
2015-05-29zsh-completion: a more style/tag aware _systemctlEric Cook
using _wanted instead of calling compadd directly. this allows the user to customize possible matches. An example being, grouping units by type: autoload -Uz compinit; compinit zstyle ':completion:*' menu select zstyle ':completion:*' group-name '' zstyle ':completion:*' format 'Completing %d' zstyle -e ':completion:*:*:systemctl-(((re|)en|dis)able|(*re|)start|reload*):*' \ tag-order 'local type; for type in service template target socket; reply+=( systemd-units:-${type}:${type} ); reply=( "$reply systemd-units:-misc:misc" )' zstyle ':completion:*:systemd-units-template' ignored-patterns '^*@' zstyle ':completion:*:systemd-units-target' ignored-patterns '^*.target' zstyle ':completion:*:systemd-units-socket' ignored-patterns '^*.socket' zstyle ':completion:*:systemd-units-service' ignored-patterns '^*.service' zstyle ':completion:*:systemd-units-misc' ignored-patterns '*(@|.(service|socket|target))' also, <poke> http://lists.freedesktop.org/archives/systemd-devel/2015-May/032012.html
2015-05-19zsh-completion: fix completion of --user servicesEric Cook
By the time __systemctl is called, --user/--system are shifted out of `words' by _arguments. This patch queries the array sooner. In the case that both --user and --system are on the line when compsys runs, _sys_service_mgr is set to the latter. Which is seemingly how systemctl behaves. If neither are on the line, --system is set; for system services to be completed.
2015-05-18zsh-completion: make the arrays _sys_active_units, _sys_startable_units and ↵Eric Cook
_sys_restartable_units local to the completer.
2015-05-18zsh-completion: removing more pointless forksEric Cook
I seem to have forgot about _systemctl_active_units().
2015-05-18zsh-completion: less forking in _systemctl_failed_units() and make the array ↵Eric Cook
`_sys_failed_units' local to the completer.
2015-05-18zsh-completion: less forking in _systemctl_get_template_names()Eric Cook
2015-05-18zsh-completion: actually complete template names for subcommands enable, ↵Eric Cook
reenable and disable. compadd's -a option treats non-option arguments as arrays. So $(_systemctl_get_template_names) expands to some words that aren't legal array names. Even if there were, they would be empty; thus adding nothing. deduplicated a few functions too.
2015-05-18zsh-completion: actually run _filter_units_by_property when creating the ↵Eric Cook
arrays _sys_(re|)startable_units
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-05-16zsh-completion: add missing completions for systemd-nspawnLukas Rusak
2015-05-16zsh-completion: update -M completion for systemd-analyzeLukas Rusak
2015-05-16zsh-completion: add missing completions for machinectlLukas Rusak
Appologies, I'm still getting used to this mailing list thing and using git send-email
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-08zsh-completion: update hostnamectlRonny Chevalier
2015-04-08zsh-completion: add missing -M completion for journalctlRonny Chevalier
2015-04-08zsh-completion: update loginctlRonny Chevalier
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-26treewide: fix multiple typosTorstein Husebø
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