summaryrefslogtreecommitdiff
path: root/shell-completion
Commit message (Collapse)AuthorAgeFilesLines
* bash-completion: add systemd-id128 supportYu Watanabe2019-03-151-0/+74
|
* bash-completion: also suggest units in reloading or activatingYu Watanabe2019-03-121-1/+4
| | | | Closes #11942.
* journalctl: New option --cursor-fileJörg Sommer2019-02-272-1/+2
| | | | | | | | | | | | | | | | The option cursor-file takes a filename as argument. If the file exists and contains a valid cursor, this is used to start the output after this position. At the end, the last cursor gets written to the file. This allows for an easy implementation of a timer that regularly looks in the journal for some messages. journalctl --cursor-file err-cursor -b -p err journalctl --cursor-file audit-cursor -t audit --grep DENIED Or you might want to walk the journal in steps of 10 messages: journalctl --cursor-file ./curs -n10 --since=today -t systemd
* bash-completion: busctl: add 'emit' command supportYu Watanabe2019-02-061-1/+8
|
* bash-completion: udevadm: support recently added optionsYu Watanabe2019-01-181-2/+2
|
* zsh completion: Prevent functions from clobbering each other, &c.dana2019-01-0819-82/+147
| | | | | | - Don't redefine helpers on every call - Prefix helper names with main function name - Adjust some helper names for consistency and convention adherance
* zsh/coredumpctl: don't print warnings from completion functionPaul Seyfert2018-12-311-1/+1
|
* zsh/coredumpctl: offer --quietPaul Seyfert2018-12-261-0/+1
|
* zsh/coredumpctl: offer --directory optionPaul Seyfert2018-12-251-0/+1
| | | | | After `-D <TAB>` and `--directory=<TAB>` _directories is called to suggest directories.
* zsh/coredumpctl: complete argument for --debugger=Paul Seyfert2018-12-251-1/+1
| | | | | | This way external commands (i.e. executables in the PATH) are suggested at --debugger=<TAB>. Upon starting a path (e.g. --debugger=/<TAB> or --debugger=./<TAB>), filenames of executables are completed.
* Merge pull request #10221 from lucaswerkmeister/bash-completionZbigniew Jędrzejewski-Szmek2018-12-181-0/+11
|\ | | | | | | | | Merged locally to resolve a conflict. The redirection of error is required to suppress "# Not showing unlisted system calls, ...".
| * bash-completion: analyze: complete system call setsLucas Werkmeister2018-09-301-0/+11
| |
* | bash-completion: also suggests device unitsYu Watanabe2018-12-171-2/+7
| | | | | | | | Follow-up for b6854081ffb26c32a8d1440346f9ee5b9d2f1e57.
* | bash-completion: udevadm: suggest argument for several optionsYu Watanabe2018-12-171-19/+152
| |
* | bash-completion: fix __get_interfaces()Yu Watanabe2018-12-173-7/+7
| |
* | Merge pull request #11147 from yuwata/bash-completion-machinectlZbigniew Jędrzejewski-Szmek2018-12-146-11/+69
|\ \ | | | | | | bash-completion: adds import-fs for machinectl and suggest more
| * | bash-completion: nspawn: support recently added optionsYu Watanabe2018-12-141-3/+32
| | |
| * | bash-completion: run: support recently added optionsYu Watanabe2018-12-141-2/+14
| | |
| * | bash-completion: systemctl: use --output=help to show suggestionsYu Watanabe2018-12-141-2/+1
| | |
| * | bash-completion: journalctl: use --output=help to show suggestionsYu Watanabe2018-12-141-1/+1
| | |
| * | bash-completion: journalctl: drop deprecated --new-id128 optionYu Watanabe2018-12-141-1/+1
| | |
| * | bash-completion: loginctl: suggest argument for --machine optionYu Watanabe2018-12-141-0/+9
| | |
| * | bash-completion: loginctl: suggest argument for --output optionYu Watanabe2018-12-141-0/+3
| | |
| * | bash-completion: machinectl: suggest arguments for --verify and --formatYu Watanabe2018-12-141-1/+7
| | | | | | | | | | | | | | | This also changes to use '--output=help' for suggesting arguments of --output option.
| * | bash-completion: machinectl: support import-fsYu Watanabe2018-12-141-1/+1
| | |
* | | bash-completion: busctl: support --json and -j optionYu Watanabe2018-12-141-2/+6
| | |
* | | bash-completion: bootctl: support set-default and set-oneshotYu Watanabe2018-12-141-0/+20
| | |
* | | bash-completion: bootctl: suggest argument for --path optionYu Watanabe2018-12-141-0/+15
| | |
* | | bash-completion: bootctl: add one missing optionYu Watanabe2018-12-141-1/+1
|/ /
* | bash-completion: analyze: support 'security'Yu Watanabe2018-12-071-1/+19
| |
* | zsh-completion: Add support for set-property (#10322)Xuanwo2018-11-201-1/+2
| |
* | zsh-completion: typo (`proerties` > `properties`)Elias Probst2018-11-161-1/+1
| |
* | zsh-completion: complete available, not running machines for `clone`Elias Probst2018-11-161-0/+2
| |
* | bash-completion: analyze: add timespanYu Watanabe2018-10-231-1/+1
| | | | | | | | Follow-up for 3f1c1287a96dfc146ce894bd6bfff388cba0ab55.
* | journalctl: port JSON output mode to new JSON APILennart Poettering2018-10-114-4/+4
|/ | | | | | Also, while we are at it, beef it up, by adding json-seq support (i.e. https://tools.ietf.org/html/rfc7464). This is particularly useful in conjunction with jq's --seq switch.
* bash-completion: systemctl: re-implement __filter_units_by_properties()Yu Watanabe2018-09-121-49/+58
| | | | | | This also unifies __filter_units_by_property() and __filter_units_by_properties(), and makes completion for 'restart', 'reload' or 'stop' show more candidates.
* shell-completion: replace "gdb" verb with "debug" for coredumpctlJan Pokorný2018-08-202-4/+9
| | | | Also offer --debugger option. Both to reflect changes in v239.
* bash-completion: journalctl: add --grep and --case-sensitiveYu Watanabe2018-08-081-2/+5
|
* Make final kill signal configurableJon Ringle2018-07-232-4/+4
| | | | | | Usecase is to allow changing the final kill from SIGKILL to SIGQUIT which should create a core dump useful for debugging why the service didn't stop with the SIGTERM
* meson: drop redundant messagesYu Watanabe2018-07-102-4/+0
|
* tree-wide: drop copyright lines for more authorsZbigniew Jędrzejewski-Szmek2018-06-222-2/+0
| | | | Acks in https://github.com/systemd/systemd/issues/9320.
* bash-completion: support 'timedatectl show'Yu Watanabe2018-06-211-1/+1
|
* tree-wide: drop copyright headers from frequent contributorsZbigniew Jędrzejewski-Szmek2018-06-2012-12/+0
| | | | | | | | Fixes #9320. for p in Shapovalov Chevalier Rozhkov Sievers Mack Herrmann Schmidt Rudenberg Sahani Landden Andersen Watanabe; do git grep -e 'Copyright.*'$p -l|xargs perl -i -0pe 's|/([*][*])?[*]\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\s*[*]([*][*])?/\n*|\n|gms; s|\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\n*|\n|gms' done
* Drop my copyright headersZbigniew Jędrzejewski-Szmek2018-06-147-14/+0
| | | | | | | perl -i -0pe 's/\s*Copyright © .... Zbigniew Jędrzejewski.*?\n/\n/gms' man/*xml git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/(#\n)?# +Copyright © [0-9, -]+ Zbigniew Jędrzejewski.*?\n//gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s*\/\*\*\*\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*?\s*\*\*\*\/\s*/\n\n/gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*//gms'
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-1426-29/+29
| | | | | | Let's unify an beautify our remaining copyright statements, with a unicode ©. This means our copyright statements are now always formatted the same way. Yay.
* resolve: rename PrivateDNS to DNSOverTLSIwan Timmer2018-06-142-7/+7
| | | PrivateDNS is not considered a good name for this option, so rename it to DNSOverTLS
* Merge pull request #8863 from evelikov/shell-completion-fixesZbigniew Jędrzejewski-Szmek2018-06-132-48/+60
|\ | | | | Shell completion fixes/perf improvements
| * zsh-completion: systemctl: list template units only as neededEmil Velikov2018-06-111-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently the completion adds template units for commands such as is-active, is-failed, is-enabled, status, show and others. At the same time systemctl barfs at us, since an instanced template unit is needed. Follow the example list from bash-completion as to which commands should not list template units. Note: The above is observed regardless of DefaultInstance. Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
| * shell-completion: systemctl: do not list template units in {re,}startEmil Velikov2018-06-112-6/+4
| | | | | | | | | | | | | | | | | | | | Template units lacking DefaultInstance cannot be enabled/disabled or started/restarted. By adding DefaultInstance the unit can be enabled/disabled but it still cannot be started/restarted. Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
| * shell-completion: systemctl: pass current word to all list_unit*Emil Velikov2018-06-112-12/+12
| | | | | | | | | | | | | | | | Earlier patch added the current word to the performance critical paths. Here we add it to every place, for consistency sake. Suggested-by: Yu Watanabe (yuwata) Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>