Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: adding configtest to service httpd options
- X-seq: zsh-users 21479
- From: zzapper <david@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: adding configtest to service httpd options
- Date: Fri, 22 Apr 2016 20:49:54 +0000 (UTC)
- 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
- Organization: Your Company
- References: <XnsA5F1B69EA1363davidrayninfocouk@80.91.229.13> <160421180453.ZM18158@torch.brasslantern.com>
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote in
news:160421180453.ZM18158@xxxxxxxxxxxxxxxxxxxxxx:
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author