Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Q] user-defined completion
- X-seq: zsh-users 1640
- From: Didier Verna <verna@xxxxxxxxxxx>
- To: Sven Guckes <guckes@xxxxxxxxxxxxxxxxx>
- Subject: Re: [Q] user-defined completion
- Date: 23 Jun 1998 13:39:58 +0200
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: Sven Guckes's message of "Tue, 23 Jun 1998 13:32:25 +0200"
- Mail-copies-to: never
- References: <qyjzpf5pwu0.fsf@xxxxxxxxxxxxxxx> <19980623133225.A25114@xxxxxxxxxxxxxxxxx>
- Sender: verna@xxxxxxxxxxx
Sven Guckes <guckes@xxxxxxxxxxxxxxxxx> writes:
> Quoting Didier Verna (verna@xxxxxxxxxxx): > I'd like to write a function for
> special command line completion, but that is > aware of the program whose
> command line we're completing. After reading the > doc, I see that
> user-defined functions get 2 arguments: pre and postfix. Is there a way to
> make such functions aware of the program name ? Any ideas ?
> Are talking about "completion control" with "compctl"?
Possibly, yes.
> "man zshcompctl"!
That's what I meant by saying "after reading the doc". But it seems
that the answer is no. So, in case I'm missing something, or I'm just blind,
I would have liked to know if somebody knows a way to achieve this.
--
/ / _ _ Didier Verna http://www.inf.enst.fr/~verna/
- / / - / / /_/ / E.N.S.T. INF C214 mailto:verna@xxxxxxxxxxx
/_/ / /_/ / /__ / 46 rue Barrault Tel. (33) 01 45 81 80 72
75634 Paris cedex 13 Fax. (33) 01 45 81 31 19
Messages sorted by:
Reverse Date,
Date,
Thread,
Author