* completion problem
@ 2015-10-17 8:27 covici
2015-10-17 15:49 ` Eric Cook
0 siblings, 1 reply; 3+ messages in thread
From: covici @ 2015-10-17 8:27 UTC (permalink / raw)
To: zsh-users
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.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: completion problem
2015-10-17 8:27 completion problem covici
@ 2015-10-17 15:49 ` Eric Cook
2015-10-18 5:22 ` covici
0 siblings, 1 reply; 3+ messages in thread
From: Eric Cook @ 2015-10-17 15:49 UTC (permalink / raw)
To: zsh-users
On 10/17/2015 04:27 AM, covici@ccs.covici.com 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: completion problem
2015-10-17 15:49 ` Eric Cook
@ 2015-10-18 5:22 ` covici
0 siblings, 0 replies; 3+ messages in thread
From: covici @ 2015-10-18 5:22 UTC (permalink / raw)
To: Eric Cook; +Cc: zsh-users
Eric Cook <llua@gmx.com> wrote:
> On 10/17/2015 04:27 AM, covici@ccs.covici.com 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@ccs.covici.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-18 5:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-17 8:27 completion problem covici
2015-10-17 15:49 ` Eric Cook
2015-10-18 5:22 ` covici
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).