Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: adding configtest to service httpd options
- X-seq: zsh-users 21482
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: adding configtest to service httpd options
- Date: Sat, 23 Apr 2016 21:36:12 +0000
- In-reply-to: <160422154422.ZM2884__39944.5106079385$1461365132$gmane$org@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <XnsA5F1B69EA1363davidrayninfocouk@80.91.229.13> <160421180453.ZM18158@torch.brasslantern.com> <XnsA5F2DE187A748davidrayninfocouk@80.91.229.13> <160422154422.ZM2884__39944.5106079385$1461365132$gmane$org@torch.brasslantern.com>
Bart Schaefer wrote on Fri, Apr 22, 2016 at 15:44:22 -0700:
> This is a situation in which a "good enough" generic completion was
> created and special cases are *way* outside of what it covers; there
> is no simple correction.
It would have been possible to use the 'fake' style to add the
'cnofigtest' completion if the service name ("httpd") were in the
context; but it is not:
% service httpd <_complete_help>
tags in context :completion::complete:service::
argument-rest (_arguments _service)
- Perhaps the context should be ...:service-httpd:... ?
- Alternatively, does CentOS provide some kind of help output listing
the valid commands? On some OSes, «/etc/init.d/${service}
invalidargument» does that.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author