Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Q] user-defined completion
- X-seq: zsh-users 1638
- From: Sven Guckes <guckes@xxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: [Q] user-defined completion
- Date: Tue, 23 Jun 1998 13:32:25 +0200
- In-reply-to: <qyjzpf5pwu0.fsf@xxxxxxxxxxxxxxx>; from Didier Verna on Mon, Jun 22, 1998 at 12:14:31PM +0200
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxxx
- References: <qyjzpf5pwu0.fsf@xxxxxxxxxxxxxxx>
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"? "man zshcompctl"!
Sven
--
Sven Guckes guckes@xxxxxxxxxxxxxxxxx using zsh-3.0.5 [961218]
ZSH HomePage: http://www.zsh.org | Latest version: zsh-3.1.3 [980501]
ZSH Pages: http://www.math.fu-berlin.de/~guckes/zsh/ Tips and tricks
Messages sorted by:
Reverse Date,
Date,
Thread,
Author