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

Re: compgen-like functionality



On Tue, Aug 12, 2008 at 12:42 PM, Clint Adams <clint@xxxxxxx> wrote:
> On Wed, Jul 02, 2008 at 04:22:55AM -0500, brian wrote:
>> The idea is to use zsh's better completion stuff. I'm unsure whether
>> bashcompinit provides anything over just using compgen directly.
>
> As I understand this now, brian was asking for something that would,
> instead of doing the whole zle completion thing,
> would just print/return the set of possible completions for the given
> command line and context.

Yeah. The idea is to let other applications use zsh's completion
stuff. Strangely, it seems a lot easier with bash. That's why xmonad's
prompt stuff currently uses compgen.



Messages sorted by: Reverse Date, Date, Thread, Author