Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Q] user-defined completion
- X-seq: zsh-workers 4141
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: [Q] user-defined completion
- Date: Mon, 22 Jun 1998 12:42:59 +0200 (MET DST)
- In-reply-to: Didier Verna's message of 22 Jun 1998 12:14:31 +0200
Didier Verna wrote:
> Hi!
>
> 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 ?
> Thanks.
>
See the read builtin (options `-c', `-l', and `-n', and probably `-A').
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author