summaryrefslogtreecommitdiffstats
path: root/shell-completion (follow)
Commit message (Collapse)AuthorAgeFilesLines
* shell-completion: hostnamectl: add the command set-locationEvgeny Vereshchagin2015-10-291-1/+1
|
* shell-completion: systemd-run: add the property ProtectHomeEvgeny Vereshchagin2015-10-262-2/+2
|
* zsh-completion: journalctl --identifierZbigniew Jędrzejewski-Szmek2015-10-251-0/+1
| | | | Fixes #1549.
* shell-completion: systemd-run: add the property ProtectSystemEvgeny Vereshchagin2015-10-252-1/+3
|
* shell-completion: systemd-run: add new property EnvironmentFileNicolas Cornu2015-10-212-2/+2
|
* Add zsh completion on systemd-run's propertiesNicolas Cornu2015-10-211-1/+14
|
* shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin2015-10-211-1/+2
| | | | "ReadWriteDirectories", "ReadOnlyDirectories", "InaccessibleDirectories"
* shell-completion: systemd-run: add property OOMScoreAdjustEvgeny Vereshchagin2015-10-171-1/+1
|
* shell-completion: systemd-run: add TimerSlackNSec propertyEvgeny Vereshchagin2015-10-151-1/+1
|
* shell-completion: systemd-run: add SyslogFacility propertyEvgeny Vereshchagin2015-10-141-1/+2
|
* shell-completion: systemd-run: add SyslogLevel propertyEvgeny Vereshchagin2015-10-141-1/+1
|
* zsh: don't mention /etc/mtabLennart Poettering2015-10-091-1/+1
| | | | | | The file is obsolete, use /proc/self/mounts instead. Also, yuck, the code is so awful...
* shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin2015-10-091-1/+1
|
* shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin2015-10-091-1/+3
| | | | | | See: * 602b83559a7cfcd3eee05 * b9c50073fcc1460ca1ff3
* shell-completion: add pseudo machine ".host" to shell completionLennart Poettering2015-10-081-1/+1
|
* shell-completion: add "machinectl shell" to bash completion logicLennart Poettering2015-10-081-1/+1
|
* Merge pull request #1419 from keszybz/shell-completionLennart Poettering2015-09-304-9/+7
|\ | | | | Shell completion tweaks
| * bash-completion: remove one more sort and sub-shellZbigniew Jędrzejewski-Szmek2015-09-281-2/+2
| | | | | | | | | | {} is preferred to (), because the first is just grouping, while the second invokes a separate shell.
| * bash-completion: use builtins when generating listZbigniew Jędrzejewski-Szmek2015-09-281-1/+1
| |
| * bash-completion: use builtins when generating listZbigniew Jędrzejewski-Szmek2015-09-281-1/+1
| | | | | | | | | | | | | | 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.
| * shell-completion: use systemctl --state=helpZbigniew Jędrzejewski-Szmek2015-09-282-5/+3
| | | | | | | | | | | | | | 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.
* | shell-completion: journalctl: add --rotateEvgeny Vereshchagin2015-09-301-1/+1
|/
* shell-completion: nspawn: add missing values for --link-journalEvgeny Vereshchagin2015-09-261-1/+1
|
* shell-completion: journalctl: add missing optionsEvgeny Vereshchagin2015-09-251-3/+4
|
* shell-completion: journalctl: add missing fieldsEvgeny Vereshchagin2015-09-251-2/+2
|
* shell-completion: cgtop bash completion: add -r,--raw,-k,-P,--orderEvgeny Vereshchagin2015-09-211-2/+6
|
* shell-completion: cgtop bash completion: -n,--iterations,-d,--delay require argEvgeny Vereshchagin2015-09-211-2/+2
|
* shell-completion: update systemd-cgtop bash completion: --recursiveEvgeny Vereshchagin2015-09-211-1/+3
|
* cgtop: add -M/--machineEvgeny Vereshchagin2015-09-211-1/+16
|
* shell-completion: update systemd-analyze bash-completionEvgeny Vereshchagin2015-09-071-3/+3
| | | | | * Change --no-man to --man (see dad29df) * --{from,to}-pattern require arg
* shell-completion: update systemctl bash completionEvgeny Vereshchagin2015-09-041-2/+20
| | | | | Many new options have been added since the bash completion was last updated.
* run: enable interactive authorizationEvgeny Vereshchagin2015-09-011-1/+1
|
* shell-completion: bash: add systemd-path completionEvgeny Vereshchagin2015-08-311-0/+60
|
* shell-completion: bash: add networkctl completionEvgeny Vereshchagin2015-08-281-0/+70
|
* shell-completion: add `failed` state to --state compwordsEvgeny Vereshchagin2015-08-281-1/+1
|
* shell-completion: update systemd-run bash completionEvgeny Vereshchagin2015-08-281-2/+13
| | | | | Many new options have been added since the bash completion was last updated.
* shell-completion: bash: make list-transfers and cancel-transfer STANDALONESeth Jennings2015-08-181-2/+2
| | | | list-transfers and cancel-transfers don't take machine arguments.
* shell-completion: bash: add image transfer subcommandsSeth Jennings2015-08-181-1/+1
|
* Merge pull request #931 from spartacus06/update-completion-machinectlLennart Poettering2015-08-161-3/+4
|\ | | | | Update shell completion for machinectl
| * shell-completion: use list-images rather than listSeth Jennings2015-08-161-1/+2
| | | | | | | | | | | | | | | | "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.
| * shell-completion: update machinectl bash completionSeth Jennings2015-08-161-2/+2
| | | | | | | | | | Many new subcommands have been added since the bash completion was last updated. Bring it up to speed.
* | Merge pull request #947 from evverx/bash-completionLennart Poettering2015-08-161-1/+1
|\ \ | | | | | | Update bash-completion: generate all unit types
| * | bash-completion: generate unit type list from systemctl -t help optionEvgeny Vereshchagin2015-08-161-1/+1
| |/
* / zsh completion: update busctlNicolas Cornu2015-08-151-0/+15
|/
* zsh-completion: _loginctl/_systemd/_systemd-inhibit improvementsEric Cook2015-06-233-14/+30
| | | | | | | | | | | | | | | | | | | | | | _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
* zsh-completion: _systemd-nspawn - add more argument completionEric Cook2015-06-221-20/+21
| | | | | | | | | | | | 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
* zsh-completion: _loginctl - general bug fixesEric Cook2015-06-171-10/+54
| | | | | | | | | | | | | | | | | | | | | | 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.
* zsh-completion: optimize _filter_units_by_propertyDaniel Hahler2015-06-061-10/+5
| | | | | | | | 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.
* Merge pull request #5 from ↵Daniel Mack2015-06-021-23/+37
|\ | | | | | | | | systemd-mailing-devs/1432910411-14517-1-git-send-email-llua@gmx.com zsh-completion: a more style/tag aware _systemctl
| * zsh-completion: a more style/tag aware _systemctlEric Cook2015-05-291-23/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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