chiark / gitweb /
zsh_completion: Fix single letter args
authorWilliam Giokas <1007380@gmail.com>
Wed, 21 Aug 2013 03:06:54 +0000 (22:06 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Aug 2013 16:48:14 +0000 (12:48 -0400)
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.


No differences found