Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [Q] user-defined completion



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