From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-users@zsh.org
Subject: Re: adding configtest to service httpd options
Date: Sat, 23 Apr 2016 21:36:12 +0000 [thread overview]
Message-ID: <20160423213612.GA7021@tarsus.local2> (raw)
In-Reply-To: <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.
prev parent reply other threads:[~2016-04-23 21:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-21 16:57 zzapper
2016-04-22 1:04 ` Bart Schaefer
2016-04-22 20:49 ` zzapper
2016-04-22 22:44 ` Bart Schaefer
2016-04-23 18:11 ` zzapper
[not found] ` <160422154422.ZM2884__39944.5106079385$1461365132$gmane$org@torch.brasslantern.com>
2016-04-23 21:36 ` Daniel Shahaf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160423213612.GA7021@tarsus.local2 \
--to=d.s@daniel.shahaf.name \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).