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

Re: [PATCH]always show complete list

On Thu, 2 May 2002, Hans Dieter Pearcey wrote:

> On Thu, May 02, 2002 at 02:42:57PM -0400, joel w. reed wrote:
> > this patch adds a config option LISTALWAYS that if set, makes
> > zsh-4.0.4 always show the complete list if the completion
> > resulted in only a partial completion
> >
> zsh already does this.
> see AUTO_LIST (which is on by default) and LIST_AMBIGUOUS in zshoptions.

No, you misunderstand.  With autolist+listambiguous, zsh will first
complete as far as it can, and then stop -- you have to press TAB again
to see the list of possible completions.

This patch is intended to cause zsh to immediately display the list any
time it can't complete to a unique match, even if it can complete part of
the way.

However, this can be done in the new completion system without having to
change the C code by assigning compstate[list]=list at some appropriate
place.  I don't have time to figure out exactly where, at the moment ...

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