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

Re: completion problem



Eric Cook <llua@xxxxxxx> wrote:

> On 10/17/2015 04:27 AM, covici@xxxxxxxxxxxxxx wrote:
> > Hi.  I really appreciate the people on this list helping me to learn zsh
> > -- I am slogging my way through the manual, but its slow going.
> > 
> > I am running into a strange behavior when completing a filename -- if I
> > start with something which has no matches,  and then press tab, the
> > system will try to give me substring matches and this is fine, but what
> > I would like to prevent is then it automatically completes with the
> > first match, which -- at least for me -- is usually not what I want.
> > How can I prevent this from happening?
> > 
> > Thanks in advance for any suggestions.
> > 
> 
> Inserting the first possible match shouldn't happen by default. If you enabled the MENU_COMPLETE option, that behavior happens.
> There may be other ways to doing that if i remember correctly.
> 

setopt does not give me anything to do with completion -- does that mean
menu_complete is not enabled?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@xxxxxxxxxxxxxx



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