[systemd-devel] [PATCH] zsh_completion: Fix single letter args

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Fri Aug 23 09:51:35 PDT 2013


On Tue, Aug 20, 2013 at 10:06:54PM -0500, William Giokas wrote:
> 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.
Nice, applied.

Zbyszek


More information about the systemd-devel mailing list