summaryrefslogtreecommitdiff
path: root/shell-completion/bash/systemctl
AgeCommit message (Collapse)Author
2013-09-20completion/systemctl: add missing list-sockets verbDave Reisner
2013-08-12shell-completion: tell bash about --stateZbigniew Jędrzejewski-Szmek
2013-07-30bash-completion: use a better definition of __contains_wordDave Reisner
- scope the iterator var - use the correct, quoted, non-expansion prone positional parameter notation - prevent expansion on RHS of comparison - remove unneeded explicit returns. This really should be defined only once...
2013-06-17journalctl,loginctl,systemctl,systemd-cgls: add -l as alias for --fullDaniel Albers
https://bugs.freedesktop.org/show_bug.cgi?id=65850
2013-05-30systemctl: add commands set-default and get-defaultVáclav Pavlín
systemctl set-default NAME links the default.target to the given unit, get-default prints out the path to the currently set default target.
2013-04-24systemctl: show reverse dependencies or before/after orderingZbigniew Jędrzejewski-Szmek
Also update completion scripts a bit.
2013-04-22shell-completion: add shell completion for "systemctl help"Harald Hoyer
2013-04-17shell-completion: use -a to see "empty" propertiesZbigniew Jędrzejewski-Szmek
2013-04-17bash-completion: --property supportZbigniew Jędrzejewski-Szmek
Just bash.
2013-04-11systemctl: allow multiple arguments to --typeZbigniew Jędrzejewski-Szmek
This mirrors --property, and is generally useful. New functionality is used in bash completion. In case of zsh completion, new functionality is less useful because of caching. Nevertheless, zsh completion for restart is made to behave more-or-less the same as bash completion. At least sockets can be restarted.
2013-04-10shell-completion: show failed units as candidates for startZbigniew Jędrzejewski-Szmek
Also show disabled units as candidates for reenable, since it works and one may want to do enable-or-reenable in one line.
2013-04-10shell-completion: replace printf with echoZbigniew Jędrzejewski-Szmek
It is faster to use a bash built-in, then to invoke an external program. The problem of unit names starting with a dash is solved by prepending a space. Spaces are ignored anyway. For zsh, replace echo "$unit", which is vulnerable to dashes, with echo " $unit".
2013-04-05shell-completion: work on session shell is --user is usedZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=61695
2013-03-03bash-completion: split completions and move to new locationMichael Biebl
Split the large bash completion script into separate, smaller files each named after the binary it is used for and move the files to /usr/share/bash-completion/completions. This way the completions can be loaded on demand and we only install the completions for the tools we actually build. The old path /etc/bash_completion.d/ is deprecated and will disappear in the future.