From: Fletch <fletch@phydeaux.org>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
Cc: zsh-workers@sunsite.dk
Subject: Re: completion function for apachectl
Date: 26 Feb 2001 09:31:33 -0500 [thread overview]
Message-ID: <m2hf1hjz22.fsf@godzilla.phydeaux.org> (raw)
In-Reply-To: Sven Wischnowsky's message of "Mon, 26 Feb 2001 11:13:19 +0100 (MET)"
>>>>> "Sven" == Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:
Sven> Fletch wrote:
>> This completes for apachectl (a utility that comes with apache
>> to do things such as restarting apache, syntax checking it's
>> configuration file, and the like).
Sven> Thanks for writing a new completion function.
[... Brutal savaging of my version choped :) ]
Thanks for critiquing it. It was rather cargo cultish and
hacked together from the bits and pieces of whatever looked similar to
what I was trying to do. I better go re-read that section of the
guide a couple more times.
Sven> Hm. Since there are several commands (and scripts[1]) that
Sven> only get one command as argument, I'm almost tempted to add
Sven> a generic version of the above as a utility
Sven> function. Opinions?
Sven> Bye Sven
Sven> [1] Wasn't there a request for init-script completion on the
Sven> debian list?
I've been frustrated that TAB doesn't Do What I Mean for stuff
in /etc/rc.d/init.d several times. You almost could generate it on
the fly with a for over /etc/rc.d/init.d/*, maybe with a style for
things that take strange arguments other than start or stop.
--
Fletch | "If you find my answers frightening, __`'/|
fletch@phydeaux.org | Vincent, you should cease askin' \ o.O'
770 933-0600 x211(w) | scary questions." -- Jules =(___)=
| U
next prev parent reply other threads:[~2001-02-26 14:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-26 10:13 Sven Wischnowsky
2001-02-26 14:31 ` Fletch [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-02-23 15:07 Fletch
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=m2hf1hjz22.fsf@godzilla.phydeaux.org \
--to=fletch@phydeaux.org \
--cc=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.dk \
/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).