From: zzapper <david@rayninfo.co.uk>
To: zsh-users@zsh.org
Subject: Re: adding configtest to service httpd options
Date: Fri, 22 Apr 2016 20:49:54 +0000 (UTC) [thread overview]
Message-ID: <XnsA5F2DE187A748davidrayninfocouk@80.91.229.13> (raw)
In-Reply-To: <160421180453.ZM18158@torch.brasslantern.com>
Bart Schaefer <schaefer@brasslantern.com> wrote in
news:160421180453.ZM18158@torch.brasslantern.com:
> On Apr 21, 4:57pm, zzapper wrote:
> }
> } Thought I'd just have to add configtest to a list in a function
> definition } file _init_d _service etc but no luck
>
>
> You need to change the assignment what='(...)' to add configtest to
> the alternatives.
>
> There is a more general pattern [that doesn't require a specific set
> of words to check] in a comment in _init_d, but as noted there, it may
> match things that are not actually valid actions.
>
>
Yep can't get this to work , but not a big priority . Are you implying that
the completions only allow for standard actions and not optionals like
configtest which may not be used by all versions of httpd?
--
zzapper
https://twitter.com/dailyzshtip
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
next prev parent reply other threads:[~2016-04-22 20:50 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 [this message]
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
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=XnsA5F2DE187A748davidrayninfocouk@80.91.229.13 \
--to=david@rayninfo.co.uk \
--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).