862f4963c6f7778cea9e715eeb11ea959eba6db3 |
|
23-Aug-2013 |
William Giokas <1007380@gmail.com> |
zsh_completion: Fix single letter args
Things like -n to specify the lines to show with systemctl and
journalctl accepts syntax like:
journalctl -n4
systemctl -n14
Previously, typing `-nXX <tab>` where XX is a number, zsh would try to
complete an integer. Now it will see the XX and use the _journalctl_none
completion. This is also how any of the single letter options that take
arguments work as well. |
298b9e23a6e21161a7fe486aab94944a58d5e90c |
|
15-Aug-2013 |
William Giokas <1007380@gmail.com> |
zsh_completion: Allow specifying multiple arguments
Some of the options in systemd can take multiple arguments, such as
systemctl's --type option. Previously, you would only be able to
complete a single type after the -t, but now zsh will continue to
complete the types, separating them by commas.
systemd-inhibit's --what command has colon (:), and that has been taken
into account. |