summaryrefslogtreecommitdiff
path: root/shell-completion
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-063-39/+0
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
* bash-completion: busctl: make variables localYu Watanabe2018-03-301-4/+4
|
* bash-completion: busctl: do not suggest "-" for signatureYu Watanabe2018-03-301-1/+1
| | | | Fixes #8371.
* bash-completion: busctl: suggests only writable properties for set-propertyYu Watanabe2018-03-301-2/+3
|
* Rename suspend-to-hibernate to suspend-then-hibernateMario Limonciello2018-03-282-2/+2
| | | | | Per some discussion with Gnome folks, they would prefer this name as it's more descriptive of what's happening.
* zsh-completion: add calendar to systemd-analyze (#8438)Doug Christman2018-03-131-1/+2
|
* Introduce suspend-to-hibernate (#8274)Mario Limonciello2018-03-082-2/+4
| | | | | | | | | | | | | | Suspend to Hibernate is a new sleep method that invokes suspend for a predefined period of time before automatically waking up and hibernating the system. It's similar to HybridSleep however there isn't a performance impact on every suspend cycle. It's intended to use with systems that may have a higher power drain in their supported suspend states to prevent battery and data loss over an extended suspend cycle. Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
* shell-completion: add --global and unit-pathsZbigniew Jędrzejewski-Szmek2018-02-092-5/+7
|
* Slightly improve performance of startable/restartable unit completion (#7839)dana2018-01-281-11/+10
|
* analyze: merge {get,set}-log-{level,target} to log-{level,target} (#8020)Yu Watanabe2018-01-272-9/+7
| | | | Also, service-watchdogs now shows current watchdog state when no optional argument is provided.
* zsh: add service-watchdogsZbigniew Jędrzejewski-Szmek2018-01-261-0/+7
| | | | A zsh counterpart to 21a6abdf0ea9ce1fa5b6edf3b9314347cc0dbca1.
* bash-completion: systemd-analyze: add service-watchdogs verbJan Klötzke2018-01-221-0/+8
|
* Merge pull request #7844 from yuwata/bash-completionZbigniew Jędrzejewski-Szmek2018-01-1518-66/+136
|\ | | | | update bash completions
| * bash-completion: timedatectl: suggests hostname and machine nameYu Watanabe2018-01-101-3/+11
| |
| * bash-completion: run: add missing optionsYu Watanabe2018-01-101-3/+4
| |
| * bash-completion: resolve: add missing optionsYu Watanabe2018-01-101-3/+17
| |
| * bash-completion: nspawn: add missing optionsYu Watanabe2018-01-101-9/+18
| |
| * bash-completion: detect-virt: add missing optionYu Watanabe2018-01-101-1/+2
| |
| * bash-completion: cgls: suggests unitsYu Watanabe2018-01-101-1/+15
| |
| * bash-completion: analyze: add missing options and verbsYu Watanabe2018-01-101-4/+5
| |
| * bash-completion: systemctl: add missing options and verbsYu Watanabe2018-01-101-6/+8
| |
| * bash-completion: networkctl: 'list' and 'lldp' can take linksYu Watanabe2018-01-101-2/+2
| |
| * bash-completion: machinectl: add missing options and verbsYu Watanabe2018-01-101-4/+15
| |
| * bash-completion: loginctl: add missing options and verbsYu Watanabe2018-01-101-5/+6
| |
| * bash-completion: localectl: add a missing option and verbsYu Watanabe2018-01-101-5/+8
| |
| * bash-completion: kernel-install: update default path to kernel imageYu Watanabe2018-01-101-1/+1
| |
| * bash-completion: journalctl add missing optionsYu Watanabe2018-01-101-9/+9
| | | | | | | | Also, this deprecates '--this-boot' option.
| * bash-completion: hostnamectl: add a missing optionYu Watanabe2018-01-101-1/+1
| |
| * bash-completion: coredumpctl: support more optionsYu Watanabe2018-01-101-4/+7
| |
| * bash-completion: busctl: support more options and verbsYu Watanabe2018-01-101-3/+4
| |
| * bash-completion: bootctl: support more options and verbsYu Watanabe2018-01-101-2/+3
| |
* | zsh/coredumpctl: Never sort the completion candidatesWieland Hoffmann2018-01-131-3/+2
| | | | | | | | | | | | That way, they're always sorted by date. I do not know how to make ZSH sort them by PID through some option, but that doesn't seem very useful in the first place.
* | zsh/coredumpctl: Fix the completionWieland Hoffmann2018-01-131-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An output from coredumpctl list is like > TIME PID UID GID SIG COREFILE EXE > Sun 2016-05-29 18:44:03 CEST 14578 1000 1000 6 none /tmp/pacaurtmp-wieland/python33/src/Python-3.3.6/python ^1 ^2 ^3 ^4 ^5 , but the previous sub() command turns that into > TIMEPID UID GID SIG COREFILE EXE > Sun2016-05-29 18:44:03 CEST 14578 1000 1000 6 none /tmp/pacaurtmp-wieland/python33/src/Python-3.3.6/python ^1 ^2 ^3 ^4 ^5 so the whole pipeline generated entries like $UID:$DESCRIPTION but that's not useful and probably not what was supposed to happen. This now generates entries like $PID:$DESCRIPTION which make everything work. Note that with this commmit, the completions will be sorted by PID by ZSH.
* Add license headers and SPDX identifiers to meson.build filesZbigniew Jędrzejewski-Szmek2017-11-192-0/+34
| | | | | | | So far I avoided adding license headers to meson files, but they are pretty big and important and should carry license headers like everything else. I added my own copyright, even though other people modified those files too. But this is mostly symbolic, so I hope that's OK.
* Add SPDX license headers to shell completion scriptsZbigniew Jędrzejewski-Szmek2017-11-1948-0/+48
|
* systemctl: clarify --global, --root and --runtime options (#7071)Lubomir Rintel2017-10-121-3/+3
| | | They're not only for enabling.
* pass currently completed word to systemctl list-unit-files/list-units (#6927)g0tar2017-10-051-8/+8
| | | | | This change noticeably increases completion performance at the expense of preventing possible _correct, _approximate or any matcher-list rules. Still, responsiveness increase so huge seems to make it worth the price.
* build-sys: s/ENABLE_RESOLVED/ENABLE_RESOLVE/Zbigniew Jędrzejewski-Szmek2017-10-042-2/+2
| | | | | | The configuration option was called -Dresolve, but the internal define was …RESOLVED. This options governs more than just resolved itself, so let's settle on the version without "d".
* build-sys: use #if Y instead of #ifdef Y everywhereZbigniew Jędrzejewski-Szmek2017-10-042-2/+2
| | | | | | | | | | | | | | | The advantage is that is the name is mispellt, cpp will warn us. $ git grep -Ee "conf.set\('(HAVE|ENABLE)_" -l|xargs sed -r -i "s/conf.set\('(HAVE|ENABLE)_/conf.set10('\1_/" $ git grep -Ee '#ifn?def (HAVE|ENABLE)' -l|xargs sed -r -i 's/#ifdef (HAVE|ENABLE)/#if \1/; s/#ifndef (HAVE|ENABLE)/#if ! \1/;' $ git grep -Ee 'if.*defined\(HAVE' -l|xargs sed -i -r 's/defined\((HAVE_[A-Z0-9_]*)\)/\1/g' $ git grep -Ee 'if.*defined\(ENABLE' -l|xargs sed -i -r 's/defined\((ENABLE_[A-Z0-9_]*)\)/\1/g' + manual changes to meson.build squash! build-sys: use #if Y instead of #ifdef Y everywhere v2: - fix incorrect setting of HAVE_LIBIDN2
* analyze: add get-log-level, get-log-target verbsLucas Werkmeister2017-09-072-1/+3
| | | | | | | They’re counterparts to the existing set-log-level and set-log-target verbs, simply printing the current value to stdout. This makes it slightly easier to temporarily change the log level and/or target and then restore the old value(s).
* shell-completion: add systemd-analyze set-log-targetLucas Werkmeister2017-09-072-0/+15
| | | | | The `systemd-analyze set-log-target` command was added in v227 (commit 2ca2a91cf1), but was missing from the shell completion specifications.
* Merge pull request #6465 from keszybz/drop-kdbusMartin Pitt2017-07-281-1/+1
|\ | | | | Drop kdbus-dependent code
| * Drop busname unit typeZbigniew Jędrzejewski-Szmek2017-07-231-1/+1
| | | | | | | | | | | | | | Since busname units are only useful with kdbus, they weren't actively used. This was dead code, only compile-tested. If busname units are ever added back, it'll be cleaner to start from scratch (possibly reverting parts of this patch).
* | bash-completion: use the first argument instead of the global variable (#6457)Yu Watanabe2017-07-271-7/+7
|/ | | | | | | | | | | | | | | | | | | | | | | | Without this fix: $ systemctl start <tab> Display all 135 possibilities? (y or n) $ __get_startable_units --system | wc -l 224 the number of the suggestions are quite different, as __get_startable_units --system does not filter already started units. With this fix, $ systemctl start <tab> Display all 135 possibilities? (y or n) $ __get_startable_units --system | wc -l 123 $ __get_template_names --system | wc -l 12 the number of the suggestions matches one the function returns. For consistency with the other internal functions, it should use the first argument instead of the global variable $mode. [zj: add commit message to make it sound like we know what we're doing]
* build-sys: drop gitignore patterns for in-tree buildsZbigniew Jędrzejewski-Szmek2017-07-182-2/+0
| | | | ... and other autotools-generated files.
* build-sys: drop automake supportZbigniew Jędrzejewski-Szmek2017-07-183-3/+0
| | | | | v2: - also mention m4
* Add networkctl label to man and shell completionZbigniew Jędrzejewski-Szmek2017-06-272-1/+2
|
* zsh: add completion for add-wants and add-requires (#6082)Felipe Sateler2017-06-061-1/+3
|
* shell-completion: add systemctl revert (#6042)Lucas Werkmeister2017-05-292-2/+3
| | | | | | The `systemctl revert` command was added in v230 (commit 344ca7556b), but was missing from the shell completion specifications. Fixes #5978.
* Add short-iso-precise for journalctl output (#5884)Ian Wienand2017-05-072-2/+2
| | | | This adds a short-iso-precise option for journalctl output. It is similar to short-iso, but includes microseconds.