summaryrefslogtreecommitdiff
path: root/shell-completion/systemd-zsh-completion.zsh
AgeCommit message (Collapse)Author
2013-05-06zsh_completion: complete only pids for systemd-coredumpctlDaniel Wallace
Instead of completing the whole line, which doesn't work, only complete the pid, but still show the whole line so the user can see which command was which. Users can also let the parameter expansion sort the completion by date instead of by pid, by setting zstyle ':completion:*:*:systemd-coredumpctl:*' sort no so that the zshcompsys doesn't sort the _describe function for only systemd-coredumpctl.
2013-05-01zsh_completion: fix udevadm monitor flagsDaniel Wallace
The brackets in the _arguments description of udevadm monitor need to be escaped.
2013-05-01zsh-completion: add s-a critical-chainZbigniew Jędrzejewski-Szmek
2013-04-24systemctl: show reverse dependencies or before/after orderingZbigniew Jędrzejewski-Szmek
Also update completion scripts a bit.
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-22Drop trailing whitespaceTollef Fog Heen
2013-03-20zsh completion: udev - remove firmware builtinTom Gundersen
2013-03-05zsh-completion: journalctl query by binary and deviceDaniel Wallace
implement 1883552c3d8 from bash completion in zsh-completion
2013-03-01journalctl: add --user-unit= switchDaniel Wallace
Add --user-unit= to make it possible to query for user logs by the name of the service.
2013-02-13Move systemctl dot to systemd-analyze dotSimon Peeters
2013-01-04systemctl: add is-failedThomas Hindoe Paaboel Andersen
Adds is-failed to join is-active and is-enabled. I grabbed this one from the todo list. Most of the functionality was already there for is-active. I just needed to make check_one_unit take the states to check for as an argument instead of the hardcoded "active" and "reloading". is-failed will return 1 if none of the units given are failed. This is different from is-active which will return 3 if none of the units given are active. It returns 3 with this comment: /* According to LSB: "program is not running" */ As that does not make sense when looking for failed units I simply chose 1 instead.
2012-12-19zsh: add hibernate and hybrid-sleep to zsh-completionDaniel Wallace
2012-12-03systemctl: fix typos in help textUmut Tezduyar
2012-11-24fix --full for journalctl zsh completionDaniel Wallace
2012-11-17journalctl: add option to forgo ellipsizationZbigniew Jędrzejewski-Szmek
Sometimes it is better to see messages in full, and the existing set of options didn't allow this easily. E.g. now journalctl -f --full will behave like tail -f /var/log/messages of yore. Long option only for now, since small letters are becoming scarce, and this doesn't feel like a capital-letter-option. '-u' would be nice, and the above command would be spelled journalctl -fu
2012-11-16shell-completion: add catalog optionsZbigniew Jędrzejewski-Szmek
2012-11-05add zsh completion for all the commandsDaniel Wallace
Most of the completion for systemctl and loginctl provided by Foudil Brétel